How to print a "form" from VB.NET

ajewahar

Member
Joined
Mar 14, 2005
Messages
15
Location
sa
Programming Experience
10+
Hi all,

I have windows Form (vb.net) contain many controls such as txtbox, lables, picture box etc..

I need to print the fom directly to printr. How can this possible ? Kindly help me.. I don't want "print-screen" of scren-shot and paste in XL for printing.

appreciate your help..

Regards,
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
there is the module that i've provided in that post in that thread in the link above that has the actual "tools" you'll need to print the form simply download the zip file and unzip the *.vb file then add that .vb file to your solution from there just call the PrintForm(Me) in the form that needs to be printed, it's explained in the thread
 
Top Bottom