Computing.Net > Forums > Programming > Printing a textbox, VB.net

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Printing a textbox, VB.net

Reply to Message Icon

Name: mking (by mkingrey)
Date: August 29, 2005 at 11:01:15 Pacific
OS: xp
CPU/Ram: xp
Comment:

Does anyone know a simple command to print the contents of a text box? All of the examples I have found on the Internet seem much more complex than what I want to do. Isn't there something like Printer.Print txtReport.Text?




Sponsored Link
Ads by Google

Response Number 1
Name: SN
Date: August 29, 2005 at 11:05:07 Pacific
Reply:

Unfortunately, no. Printing in .NET is lame and way too complex.

You'll need to do the whole thing...create a printdocument object, subscribe to the printpage event, etc. Plenty of tutorials out there.

Good luck,
-SN


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Printing a textbox, VB.net

Help - loop thru textboxes - vb.net www.computing.net/answers/programming/help-loop-thru-textboxes-vbnet/17259.html

VB.Net How to alter files www.computing.net/answers/programming/vbnet-how-to-alter-files/8691.html

VB.Net Compiler www.computing.net/answers/programming/vbnet-compiler/12705.html