|
-
Mar 14th, 2003, 05:21 PM
#1
Thread Starter
Lively Member
textfile
hi did the following code so when it saves everything in the label and text box to a text.file
when i add new data in the text boxes and save it, overrides the old text file.
what i need is everytime i add new data to text boxes and save it creates a new text file no overide the previous one created
Private Sub mnuFileSave_Click()
Open "C:\Program Files\Project\Project .txt" For Output As #1
Print #1, "Label1. " & label2 & " saved at " & Now & "."
Print #1, "label3 " & text1 & " " & text2 & " " & text3 & " " & text4
Close #1
End Sub
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
|