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