BP Forums
How to code a print Button? - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+---- Thread: How to code a print Button? (/showthread.php?tid=502)



How to code a print Button? - Himansh - 04-01-2012

I am creating an advance notepad in visual basic &
it is almost ready .
But i don't know how to code a print button which prints
the text in richtextbox1.

So can anybody tell me how to do that

Regards,
-Himansh


Re: How to code a print Button? - brandonio21 - 04-01-2012

Hey Himansh!

I have never actually tried to print something in VB.NET, But here are two articles that may help!

<!-- m --><a class="postlink" href="http://www.java2s.com/Tutorial/VB/0260__GUI/PrinttextinTextBoxtoprinterandsetuppage.htm">http://www.java2s.com/Tutorial/VB/0260_ ... uppage.htm</a><!-- m -->

<!-- m --><a class="postlink" href="http://www.dreamincode.net/forums/topic/44150-printing-in-vbnet/">http://www.dreamincode.net/forums/topic ... -in-vbnet/</a><!-- m -->