In my app I am trying to print to a network printer.
When the printer is not available, and I try to print to it, I get a System.ComponentModel.Win32Exception in system.drawing.dll. "The RPC Server could not be found".
How can I catch this error?
I have tried
Try
Catch objError as System.ComponentModel.Win32Exception
End Try
and a whole bunch of other exception types, but nothing can seem to trap this error.
