home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / is_file / isfile.txt < prev   
Text File  |  1993-08-14  |  2KB  |  49 lines

  1. ISFILE Function
  2.  
  3. Description:      Returns a TRUE if a file exists,
  4.                   FALSE if a file does not exist
  5.  
  6. Syntax:           ISFILE (filename)
  7.  
  8. Example:          
  9.                   If IsFile(CheckFile) = True Then
  10.                    Label1.Caption = CheckFile & " exists."
  11.                   Else
  12.                    Label1.Caption = CheckFile & " does not exist."
  13.                   End If
  14.                   
  15. Remarks:          For more infomation on how this call was developed and to
  16.                   extend its functionality to determine specific error 
  17.                   conditions, refer to 'Visual Basic Programmer's
  18.                   Guide to the Windows API' by Dan Appleman from Ziff-Davis
  19.                   Press, Chapter 13, pages 578-581 and 609-610
  20.                 
  21.                   No warranties or guarantees are made for this function and
  22.                   you are solely responsible for its use or misuse.  The
  23.                   function is considered Public Domain.   You may use or
  24.                   modify it as needed.
  25.  
  26.                   I would like to hear from anyone who gets any use out of
  27.                   this function, or anyone who encounters any problems or
  28.                   bugs with it, or anyone who has changes or enhancements
  29.                   they would like to see to it, or who makes any changes or
  30.                   enhancements to it themselves.  
  31.  
  32.                   I am also available for programming projects and
  33.                   consulting in Visual Basic.  Contact me as listed below for
  34.                   information regarding my availibility and prices.
  35.  
  36.                   You may contact me at:
  37.  
  38.                   J. Frank Carr
  39.                   1532 Amber Trail
  40.                   Duluth, GA 30136  USA
  41.  
  42.                   Voice Mail: (404) 880-5762 
  43.  
  44.                   CIS:  75120, 2420
  45.  
  46.                   America OnLine:  JFCarr
  47.                   
  48.                   
  49.