IsFileExist (2)




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










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