Click here to Skip to main content
15,845,829 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How code print button in visual basic 2010.
Sergey Alexandrovich Kryukov 28-Sep-12 23:52pm    
No need to "code a button". It is already "coded" for you. :-)

1) You place a button
2) You write an event handler that prints your stuff.
3) You ask a better defined question here so we can actually help you.
Share this answer
Sergey Alexandrovich Kryukov 28-Sep-12 23:51pm    
Nailed down, a 5. :-)
if you want to print form using printform control

Dim x As New PrintForm
x.Form = Me
x.PrintAction = PrintToPrinter
Share this answer

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