Page 3 of 3 FirstFirst 123
Results 81 to 89 of 89

Thread: DataGridPrinter - A class to print data grid in a nicely formatted way

  1. #81
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Question Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Is the source code on The Code Project page really the most up to date version? That was 4 years ago, and i see a lot of revisions in this thread.
    .
    ~Peter


  2. #82

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Possibly not - although it has not changed at all in the last 3 years or so...06-04-2006 is the latest source on my mchine.

  3. #83
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Where do I find the latest version of this ???

  4. #84
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    I have got the DataGridViewPrinter.zip but am having trouble implementing it. Is there a sample project that uses this class for me too get some ideas off?

    thanks

  5. #85
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    OK, I am playing around with the code. I have a couple of errors:

    MyDataGridViewPrinter' is not declared and 'MyPrintDocument' is not declared.

    Where do I declare these variables, and what is the syntax?

    thanks

  6. #86

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Make sure you are opening the solution file (*.sln) not one of the projects (*.vbp) as in the latter case the references might not be loaded...

  7. #87
    New Member
    Join Date
    Sep 2011
    Posts
    1

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Quote Originally Posted by Simon Canning View Post
    OK, I am playing around with the code. I have a couple of errors:

    MyDataGridViewPrinter' is not declared and 'MyPrintDocument' is not declared.

    Where do I declare these variables, and what is the syntax?

    thanks
    Did you figure this out? I have exactly the same problem, I added the .vb file to my project and added the code in the .txt file as well but I got the same errors as you...

  8. #88
    Member
    Join Date
    Oct 2011
    Posts
    60

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Hello Genius "Merrion" where can i get the latest version ?

    Thanks

  9. #89
    New Member
    Join Date
    Jan 2016
    Posts
    1

    Re: DataGridPrinter - A class to print data grid in a nicely formatted way

    Quote Originally Posted by skea View Post
    Thanks to Berthold Simon, who converted the C# code.
    Thank you for posting this code. when I print the grid, the rows are printing with black shaded text and not able to read the data. can you help me?

Page 3 of 3 FirstFirst 123

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