|
-
Oct 2nd, 2010, 08:44 AM
#7
Junior Member
Re: Easy Text Save&Load
 Originally Posted by si_the_geek
I'm afraid it isn't clear what you mean.
Opening it for Output will not give that error - it will be automatically created instead.
Opening it for Input will (if it does not exist), so you should pre-emptively check if it exists using the Dir() function, eg:
Code:
If Dir("C:\folder\file.ext") = "" Then
'not found
Else
'it exists, so open it
End If
well with me it dosnt create it automaticly say's file not found on vb when i debuging it, so the program crashe's it says not responding
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
|