Click here to Skip to main content
13,897,352 members

Comments by Remi Lebrun (Top 2 by date)

Remi Lebrun 29-Nov-12 17:18pm View
Thank you so much for your help Matthew, the problem is solved now!
I must admit i am a beginner at C# and you guys are PRO's.

After changing the line code to:

textPrintPage.PrintPage += new PrintPageEventHandler (textPrintPage_PrintPage);

I finally got good results; i just forgot to generate a stub for the function!

Best regards,

Remi Lebrun

ps, i hope i marked the right solution answered!
Remi Lebrun 29-Nov-12 15:00pm View
Sorry about that ooppss! this is the first time i posted a question and wasn't sure on how i should continue!
So here is the error message i get when using your solution:

Error 1 Cannot implicitly convert type 'System.EventHandler' to 'System.Drawing.Printing.PrintPageEventHandler'

I hope you can help me with this glitch.
Thanks in advance,

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190306.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid