Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Existance of file
Message
From
17/12/2001 20:24:52
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
17/12/2001 19:12:52
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00595396
Message ID:
00595420
Views:
13
Use the Dir function. Ex:

Dim strFile as string

strFile = Dir("c:\somefile.txt")

If Dir = "" Then
'file does not exist
Else
'file does exist and strFile now equals "C:\somefile.txt"
End If
Previous
Reply
Map
View

Click here to load this message in the networking platform