Re: Printing in Visual Basic
The best way to print is using the printer object command. If your form has text boxes, combo boxes, list boxes etc, you can print the contents of these by typing
Printer.Print object.text
where you substitute the name of your textbox or combobox (text1 or dbcombo1 etc)
If you do not care about gridlines you can space these out by typing
Tab(x);
where x is the distance from the left hand margin. If you use ; after the Tab command, you can place object contents on the same line. If you omit the ; then the next Tab statement will be printed on the next line.
Good luck
Roy