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