VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Function to check File is exists or not

by Raghuraja. C (21 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 17th February 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Function to check File is exists or not

Rate Function to check File is exists or not



    On Error GoTo LOCALERRORHANDLER
    Dim strRetVal As String    
    strRetVal = Dir(strFileName, vbArchive)
    If strRetVal <> "" Then
        fnFileExists = True
    End If
    Exit Function
LOCALERRORHANDLER:
End Function

Download this snippet    Add to My Saved Code

Function to check File is exists or not Comments

No comments have been posted about Function to check File is exists or not. Why not be the first to post a comment about Function to check File is exists or not.

Post your comment

Subject:
Message:
0/1000 characters