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
Printable View
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
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