Check for the Existense of a file

By | 2002-06-01

Checks if a file exists.
If you have anyquestions fax me at 1(305)847-0621
dont forget to visit my website for more codes and full program source codes + forms available for downloading

Original Author: Greg G

API Declarations

none- if this doesnt work go to i3usy.8m.com

Code

Public Function FileExists(strPath As String) As Integer
  FileExists = Not (Dir(strPath) = "")
End Function

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.