Jobs
Author: Raghuraja. C Date Submitted: 2/17/2005 Category: Other Compatibility: VB 6 This code has been accessed 4164 times.
Email Yourself this snippet:
No Declaration
Code
Public Function fnFileExists(strFileName As String) As Boolean On Error GoTo LOCALERRORHANDLER Dim strRetVal As String strRetVal = Dir(strFileName, vbArchive) If strRetVal <> "" Then fnFileExists = True End If Exit Function LOCALERRORHANDLER: End Function