File not found
-
I have a question here.. if i wan my application to continue even if it cant found the file tt i wan, wat can i do?? something like tt.. if "C:\Testing" = False msgbox.show("found") endif i not sure if u understand my question i just dun wan my application to stop when the file is not found or not exist.
-
I have a question here.. if i wan my application to continue even if it cant found the file tt i wan, wat can i do?? something like tt.. if "C:\Testing" = False msgbox.show("found") endif i not sure if u understand my question i just dun wan my application to stop when the file is not found or not exist.
try using this If IO.File.Exists("C:\Testing") = True Then Msgbox("Found") End If thanks Anoop
-
I have a question here.. if i wan my application to continue even if it cant found the file tt i wan, wat can i do?? something like tt.. if "C:\Testing" = False msgbox.show("found") endif i not sure if u understand my question i just dun wan my application to stop when the file is not found or not exist.
Also learn to use the english language, text speak in the forum is discouraged. You have a kyboard, use it!
Never underestimate the power of human stupidity RAH
-
try using this If IO.File.Exists("C:\Testing") = True Then Msgbox("Found") End If thanks Anoop
-
try using this If IO.File.Exists("C:\Testing") = True Then Msgbox("Found") End If thanks Anoop
could also use "if my.Computer.FileSystem.FileExists(strFilePath) then". I have found the IO.File method to perform better if checking a large amount of files though.
Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison