Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to code a print Button?
#1
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
The Power to Believe in Yourself is the Power to change the Fate!
#2
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 -->
My Blog | My Setup | My Videos | Have a wonderful day.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compiling Code On The Fly? zmanalpha 4 20,223 10-04-2012, 05:36 AM
Last Post: briankxc
  How to Make button performs keyboard Button Functions? Himansh 1 9,612 09-15-2012, 10:57 AM
Last Post: brandonio21
  HTML - Editor How to create "Preview in Webbrowser " Button Himansh 2 12,562 05-21-2012, 12:08 AM
Last Post: Himansh
  How to create a change password Button?? Himansh 8 29,633 04-05-2012, 11:54 AM
Last Post: brandonio21
  How to add code to Cross(X) button on a form Himansh 3 14,862 03-27-2012, 11:06 PM
Last Post: brandonio21
  vb.net code to read and convert color michaelfalade 1 9,433 06-30-2011, 10:52 AM
Last Post: brandonio21
  Exit code ? lvlasked 1 8,872 06-30-2011, 10:36 AM
Last Post: lvlasked

Forum Jump:


Users browsing this thread: 1 Guest(s)