Problem with PrinterPreview (unhandled exception)
Posted: Mon Apr 06, 2009 2:38 pm
If i do
an exception is thrown if the printer spooler service is not active (service name "Spooler" - c:\windows\system32\spoolsv.exe).
Win32Exception, error code 1722, "The RPC Server is not available"
I cannot surround the statement with a try-catch construct to catch the exception.
Please advise,
kind regards
Code: Select all
tChart1.Printer.Preview();
Win32Exception, error code 1722, "The RPC Server is not available"
I cannot surround the statement with a try-catch construct to catch the exception.
Please advise,
kind regards