Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reusable Print Class

Status
Not open for further replies.

UncleCake

Technical User
Feb 4, 2002
355
0
0
US
Hi, Yesterday I learned how to print using the PrintDocument control in a form. Today I am tying to make it fit my application, which I am changing over from VB6 to VB2005.

In VB6 I have a Class Module that accepts an invoice number as an argument and it prints it. Can anyone point me in the right direction to build a class that I could call from a form to print an invoice. I don't understand how the PrintDocument object would work if in the test form that I did I had to add it to the form. I have this functionally in a class because it is called from many different forms.

-UncleCake
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top