|
-
Jan 18th, 2000, 04:20 PM
#1
Thread Starter
Hyperactive Member
How can I check if I a file exists when using the open function?
e.g
Open "c:\filename.txt" For Input As #1
if the file does`nt exist a "run-time" error window occurs. Is there anyway to stop this?
Either a
exists = doesfileexist("C\filename.txt")
or an extension of the Open function?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|