Discussion on:

6
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Contributr
Thanks for this article! Printing used to be a lot more work than it is now, but a lot of people do not know that it got so much easier.

J.Ja
If I remember correctly, printing the the form contents in Classic VB was very easy.

Unfortunately that didn't carry over to .NET. They did recently release a new control that will help make this easier to do. But I have not used it yet.

Microsoft says: PrintForm Component 1.0 - "The PrintForm component is designed to bring back the ability to easily print a Windows Form. With this the new PrintForm component you can once again layout the Windows Form exactly as you want it and allow your users to print the form as a quick report"

So anyone wanting to print the form, this little control should make it much easier happy

Edit: Forgot to post the link - Click here to get the PrintForm control.

Jason H

VB Code For Free

VB Code Source
Which is the source file for the printDocument object?
Which file/document does the printDocuemnt object prints?
0 Votes
+ -
TNKS
fdfasdfadfafdf@... 8th Jun 2008
It works!!
Excelente

TNKS
There is a good example on paging with printdocument component in vb.net on that link, i think it helps you

http://www.expvice.com/code.aspx?id=24
PrintDocument PrintPreviewDialog and PrintDialog Control in VB.Net related link
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.