Are you sure you included it in the form ..?
VB Code:
'// CHECK FILE EXISTS FSO METHOD Public Function DoesFileExist(ByVal Filename As String) As _ Boolean Dim objFso 'As FileSystemObject (reference) On Error Resume Next Set objFso = CreateObject("Scripting.FileSystemObject") If (objFso.FileExists(Filename)) Then DoesFileExist = True End If Set objFso = Nothing End Function
Can you post your code?




Reply With Quote