How To Determine If a File Exists by Using DIR$ (112674)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q112674 SUMMARY
Visual Basic does not have any built-in functions that tell if a file
exists or not. This article demonstrates how to find out if a file exists
or not by using a Visual Basic program.
REFERENCES
For more information, see the Programmer's Reference, File
Manipulation and the DIR/DIR$ commands.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto kbprogramming KB112674 |
---|
|