Windows - Una Funzione Per Vedere Se Un File Esiste!




Visual # Function FileExist(NomeFile As String) As Boolean
'Nota bene che NomeFile deve comprendere anche il percorso

'ad esempio C:\WINDOWS\WIN.INI

Dim temp As String
temp = Dir$(NomeFile)
If temp = "" Then
FileExist=False
Else
FileExist=True
End If
End Sub











( windowsunafunzionepervedereseunfileesiste.html )- by Paolo Puglisi - Modifica del 17/12/2023