Validate_File
Determines if a file exists Improved version--detects hidden files too!
AI
AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
மூலக் குறியீடு
Function Validate_File (ByVal FileName As String) As Integer
Dim fileFile As Integer
'attempt to open file
fileFile = FreeFile
On Error Resume Next
Open FileName For Input As fileFile
'check for error
If Err Then
Validate_File = False
Else
'file exists
'close file
Close fileFile
Validate_File = True
End If
End Function
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது