Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I having windows application in vb.net that contains a form.
In the form, contains many labels and textboxes that retrieves data from database (OleDb)
I want to print that form.

So which method , i should adopt to do that?
Posted

 
Share this answer
 
Comments
Maciej Los 8-May-14 15:14pm    
+5
Abhinav S 8-May-14 23:04pm    
Thank you Maciej.
It depends how much quality/control you want in the final output.

Visual Basic.NET does have a large amount of printing code built in - for an overview have a look at the article An absolute beginner's guide to printing in .NET[^] and in particular the attached .pdf eBook of the same name.

I have wrapped up some of that into a component - the Form Print Control[^]

If you want even more power then a reporting tool such as SSRS or Crystal Reports may suit you best?
 
Share this answer
 
Comments
Maciej Los 8-May-14 15:14pm    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900