DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   Help! Print the Text in a Textbox and / or Label to Printer (http://www.daniweb.com/forums/thread168144.html)

RahulV Jan 13th, 2009 2:24 pm
Help! Print the Text in a Textbox and / or Label to Printer
 
Hai,
I have a multi-line TextBox (Text1), whenever i click a button (cmdPrint) the contents of this Text1 should be printed out to a Printer selected using a Comon Dialog Box (cdlgPrint).

Can u help!
An explanation to ur codes will be highly appreciated.

Thanks.

Comatose Jan 13th, 2009 4:06 pm
Re: Help! Print the Text in a Textbox and / or Label to Printer
 
http://www.daniweb.com/forums/showth...hlight=printer
http://www.daniweb.com/forums/showth...hlight=printer

should be helpful when looking up how to print from VB6.... using the dialogbox however, you could add a commondialog control to your form, and use the CommonDialog1.ShowPrinter option.


All times are GMT -4. The time now is 3:35 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC