• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

InvalidPrinterException in C#

alaniscool

Senior member
Does anyone know why PrintPreviewDialog.ShowDialog() throws an InvalidPrinterException when a printer isn't installed?

PrintDialog.ShowDialog() automatically handles it by popping up a message box telling you to install a printer.
 
I'm thinking this would have to be a design issue in the framework itself; you know, different parts written by different developers handle the same thing in different ways. Perhaps you should submit it to Microsoft as a bug?
 
Back
Top