• Log in or sign up for an account here: https://www.sythe.org/login

Help if file not there

kridan500

Active Member
Banned
Joined
Feb 11, 2007
Sythe Gold
0
Messages
217
Help if file not there
Hello i need help with a program.
If the file example c:\lol.txt is not there then i whant the program to do something how do i do that?:D
 
Help if file not there
If FileExisits then
blah
else
blah
end if
Code:
Public Function FileExists(strPath As String) As Integer
FileExists = Not (Dir(strPath) = "")
End Function
 
Runescape Gamblingrunescape gambling
Back
Top