G
Guest
When calling Print() on a PrintDocument class, we randomly receive a
System.ComponentModel.Win32Exception with the odd message "The operation
completed successfully" coming from the GetHdevmodeInternal() call. We
cannot reproduce the problem on demand -- can anyone help enlighten us on
where this exception may be coming from so that we can try to uncover a
specific scenario that reproduces this problem so that we can correctly fix
it?
Thanks,
The operation completed successfully
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings
pageSettings)
at System.Drawing.Printing.PrintController.OnStartPrint(PrintDocument
document, PrintEventArgs e)
at
System.Windows.Forms.PrintControllerWithStatusDialog.OnStartPrint(PrintDocument document, PrintEventArgs e)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
System.ComponentModel.Win32Exception with the odd message "The operation
completed successfully" coming from the GetHdevmodeInternal() call. We
cannot reproduce the problem on demand -- can anyone help enlighten us on
where this exception may be coming from so that we can try to uncover a
specific scenario that reproduces this problem so that we can correctly fix
it?
Thanks,
The operation completed successfully
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings
pageSettings)
at System.Drawing.Printing.PrintController.OnStartPrint(PrintDocument
document, PrintEventArgs e)
at
System.Windows.Forms.PrintControllerWithStatusDialog.OnStartPrint(PrintDocument document, PrintEventArgs e)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()