Page 1 of 1

Problem with PrinterPreview (unhandled exception)

Posted: Mon Apr 06, 2009 2:38 pm
by 13049141
If i do

Code: Select all

tChart1.Printer.Preview();
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

Posted: Tue Apr 07, 2009 8:40 am
by 10050769
Hello jamsoft,

We could reproduce your exception, and we added a try-catch in source code to solve it with shows an error message notifying and have it fixed for next version of TeeChart .NET.

Message Error:

"The RPC Server is not available"

Thanks,

Posted: Tue Apr 07, 2009 8:44 am
by 13049141
10050769 wrote: We could reproduce your exception, and we added a try-catch in source code to solve it
Thanks for the great support!
I'm looking forward to the next release, have a nice day!