-
Print Command
Hey guys, I am creating a combobox with a bunch of inputs. I need to this go to the MENU (that I created in design mode) and select print so I can print our the inputs.
how do I do that?
File-> Print... and then i need it to print out the results from the program i made. Not the form but the inputs i put in the combo box
-
Re: Print Command
Printing can become complex sometimes. I would suggest you do a search on VBF or google concerning printing to get some information. Then if you still have questions you could ask a much more specific question.
-
Re: Print Command
There's a printing example in the 2003 101 Samples. If you look at the code without understanding the principles then it can seem complex, but it isn't really. You create a PrintDocument, you set any parameters required for the printing process, you call the PrintDocument's Print method, you handle its PrintPage event and use GDI+ to print whatever you want wherever you want. It helps to have a little understanding of GDI+, so a bit of reading on the Graphics class is in order too.