Problem with PrinterPreview (unhandled exception)

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jamsoft
Newbie
Newbie
Posts: 11
Joined: Thu May 29, 2008 12:00 am

Problem with PrinterPreview (unhandled exception)

Post by jamsoft » Mon Apr 06, 2009 2:38 pm

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Tue Apr 07, 2009 8:40 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

jamsoft
Newbie
Newbie
Posts: 11
Joined: Thu May 29, 2008 12:00 am

Post by jamsoft » Tue Apr 07, 2009 8:44 am

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!

Post Reply