|
-
Mar 23rd, 2000, 09:10 PM
#1
Thread Starter
Junior Member
How do I code a Save routine for a common dialog control ? I want to save the text from a text box to a file. I can make the Save as dialog appear but I don't know where and what to put for the save...
Any hint, code or examples will be appreciated...
Hemang
-
Mar 23rd, 2000, 09:44 PM
#2
Fanatic Member
The save dialog is really only used to obtain a file name to be saved to.
Once you have got the file name try the following :
' Open file for output
Open FILENAME For Output As #1
' Output to file
Print #1, Textbox.Text;
' Close the file
Close #1
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
|