VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Determine if a file exists or not (no API calls required, only one line of code)

by Justin Coleman (6 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 10th October 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Determine if a file exists or not (no API calls required, only one line of code)

Rate Determine if a file exists or not (no API calls required, only one line of code)



    DoesFileExist = Dir(filename) <> ""
End Function

Download this snippet    Add to My Saved Code

Determine if a file exists or not (no API calls required, only one line of code) Comments

No comments have been posted about Determine if a file exists or not (no API calls required, only one line of code). Why not be the first to post a comment about Determine if a file exists or not (no API calls required, only one line of code).

Post your comment

Subject:
Message:
0/1000 characters