|
-
Mar 20th, 2000, 10:33 AM
#1
Thread Starter
Member
Can anyone help me with the code for "save" and "print" with a text box? I need it to be saved as a *.txt file and if you know how to make it print, you are the man!
thanx
empty words
-
Mar 20th, 2000, 05:07 PM
#2
Hyperactive Member
Ok then to print a text box
printer.print text1.text
printer.enddoc
easy huh...
to save the text to a text file
file_name = "hello.txt"
Open file_name For Append Shared As #6
Print #6, "Hello this is good heh"
Close #6
if you get rid of the append it creates a new file everytime.
With the Printer object there is lots you can do with fonts etc etc let me know if this works for you
[email protected]
Co Galway
Ireland
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
|