Results 1 to 2 of 2

Thread: print something

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Toronto, Ontario, Canada
    Posts
    275

    print something

    Heym how do I print a textbox and a listview to my printer from a vb.net app?

    thanx!

  2. #2
    Lively Member
    Join Date
    May 2002
    Posts
    94
    This example will show you the basics of printing...

    http://samples.gotdotnet.com/quickst...ngExample1.src


    if you re-write

    streamToPrint = new StreamReader ("PrintMe.Txt")

    to

    streamToPrint = new StreamReader (textbox1.text)

    then it should allow the textbox's data to be printed. I haven't tried it though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width