|
-
Jun 23rd, 2001, 07:56 PM
#4
Member
okay so your not using richy... then heres the code for a regular text box...
'to load the text...
commondialog1.filter = "CFG Files (*.cfg) | *.cfg"
commondialog1.dialogtitle = "open a cfg file.."
commondialog1.showopen
open commondialog1.filename for input as #1
text1.text = Input(LOF(1),1)
close #1
'to save the text
commondialog1.filter = "CFG Files (*.cfg) | *.cfg"
commondialog1.dialogtitle = "save a cfg file.."
commondialog1.showsave
open commondialog1.filename for output as #1
print #1, text1.text
close #1
there you go!
my first post
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
|