VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Searching a specified file found or not

by Rafiq Batcha (2 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 3rd July 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Searching a specified file found or not

Rate Searching a specified file found or not



Dim FSO As Variant
    Set FSO = CreateObject("Scripting.FileSystemObject")
    If (FSO.FileExists(filespec)) Then
        FileExist = True
    Else
        FileExist = False
    End If
    Set FSO = Nothing
End Function

Download this snippet    Add to My Saved Code

Searching a specified file found or not Comments

No comments have been posted about Searching a specified file found or not. Why not be the first to post a comment about Searching a specified file found or not.

Post your comment

Subject:
Message:
0/1000 characters