|
-
Jan 10th, 2008, 05:24 PM
#1
Re: What Does This Code Do?
I understand you want to save settings/options to a text file and that is very simple. Overwriting it is also easy. I do not see how a resoruce file will be helpful in this case.
To overwrite a text file, simply: Open path\file For Output As #ff. Replace ff with return value of VB's FreeFile() function. The file is immediately overwritten. If you add nothing to the file, it becomes zero-length. Don't forget to close the file when done writing to it.
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
|