by VisualBlind (12 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 10th June 2000
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Check if a file exists without the FileExists function, and this one is really simple and works great...
X$ = Dir$("C:\windows\calc.exe")
If X$ = "" Then
MsgBox "It does Not exist!", vbExclamation, "Doesn't Exist"
Else
MsgBox "It does exist!", vbExclamation, "Does Exist"
End If
No comments have been posted about Check if a file exists without the FileExists function, and this one is really simple and works gre. Why not be the first to post a comment about Check if a file exists without the FileExists function, and this one is really simple and works gre.