Results 1 to 5 of 5

Thread: help with printing in vb.net 2005

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    4

    help with printing in vb.net 2005

    I have a problem with printing in vb.net 2005, is it possible to print a datagrid, just to press on a button and it prints the datagrid, now dialogwindows from with printer you want to print etc.. just on my form 1 button you click on it and it prints the datagrid?

    Sorry for my english i aim a dutch student.
    Please help.

  2. #2
    Fanatic Member
    Join Date
    May 2003
    Posts
    758

    Re: help with printing in vb.net 2005

    Are you using the DataGrid or the DataGridView control?

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    4

    Re: help with printing in vb.net 2005

    Sorry i forgot,
    i use datagrid, its a form where are pictures, etc. i just need to print the datagrid, now extra window with how many copie's, etc. just one button where someone click and automaticly it prints the datagrid.

  4. #4
    Fanatic Member
    Join Date
    May 2003
    Posts
    758

    Re: help with printing in vb.net 2005

    There is code available on CodeProject as well as the MSDN forums for printing a DataGridView directly out. Check out CodeProject. Surely, someone has some code for you to do that with.

  5. #5
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: help with printing in vb.net 2005

    A quick browse through the code library on this site is often a good worth a small amount of your time too...

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