Click here to Skip to main content
15,905,419 members

Comments by FcoJimenez (Top 3 by date)

FcoJimenez 3-Aug-23 9:03am View    
Thank you Andre. It is a great information about blocking the execution of the code. Must be something in the PRINTPAGE event of the PRINTDOCUMENT or in the PUBLIC SUB PRINTPREVIEW (). I will check it closer and when I found the issue will comment it here.
FcoJimenez 5-Jul-23 13:17pm View    
Hi OriginalGriff

I removed the try catch lines. And still no erros and blank page. It is frustating because I had working before printing the datagridview from one tabpage, but when I tried to include another DGV from another tabpage. Depending on which tabpage is selected. The problem started. It is weird because PrinPreviedialog shows the content of DGV but PrintPreviewControl does not. I keep trying and post the solution.
Thank you.
FcoJimenez 3-Jul-23 8:35am View    
Thank you OriginalGriff. I will try that.