VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Check if a file exists without the FileExists function, and this one is really simple and works gre

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...

Rate Check if a file exists without the FileExists function, and this one is really simple and works gre




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

Download this snippet    Add to My Saved Code

Check if a file exists without the FileExists function, and this one is really simple and works gre Comments

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.

Post your comment

Subject:
Message:
0/1000 characters