|
-
Dec 16th, 1999, 11:51 PM
#1
I am creating a series of individual txt documents in a vb program. As I create each page I want to save it with a "incrementing" file name. Example, "page#1" "page#2" and so on. How do I get the file name to automatically incremenat? Thanks in advance.
-
Dec 17th, 1999, 12:06 PM
#2
Addicted Member
Try it:
Dim ok as Boolean
Dim FileName$, x%
Do While ok
FileName = "page" & x & ".txt"
...
x = x + 1
If IwantFinish Then ok = False
Loop
------------------
smalig
[email protected]
http://vbcode.webhostme.com/
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
|