|
-
Mar 7th, 2010, 03:31 PM
#1
Thread Starter
Lively Member
[RESOLVED] Automating text file name
I have a program, and writes data to a text file... with a template inside...
All works fine, and saves fine...
I'm wondering, how could I automate the filename it saves?
Currently it saves the text file as NewOrder.txt
I would like it to now realise that there is a NewOrder.txt already there, and save as NewOrder1.txt
Then when the program is closed, and I go to do a new one, it will say ok NewOrder2.txt
Hoping this is possible, I've been reading up on my.settings but I can't really find what I'm looking for...
Thanks!
Tags for this Thread
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
|