Hello, I am trying to learn visual basic 5. My boss has asked me to write a text editor which I have done, but I am having problems with printing.
I have used a text box for my text area and used the printer object to print but the text at the right of the screen will not print.
the code I have used to print is:

texteditor.dialogbox.ShowPrinter
Printer.Print texteditor.textwindow.Text
Printer.EndDoc

any help would be much appreciated.

John F.