This works in every situation. Its the best way to do it!


VB Code:
  1. Private Function FileExists(FullFileName As String) As Boolean
  2. On Error GoTo CheckError
  3.     If FileLen(FullFileName) = 0 Then
  4.         FileExists = False
  5.     Else
  6.         FileExists = True
  7.     End If
  8. Exit Function
  9. CheckError:
  10.     FileExists = False
  11. End Function