Message Box popup when errors

TeeChart for ActiveX, COM and ASP
Post Reply
Arieh
Newbie
Newbie
Posts: 28
Joined: Mon Feb 21, 2011 12:00 am

Message Box popup when errors

Post by Arieh » Wed May 25, 2011 11:29 am

Hi,
If there is a crash or error in the chart, then a message box popup occurs.
How do you configure it so that message box error popups do not occur popup - but are rather written to event log or something that does not require user interaction?

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Message Box popup when errors

Post by Yeray » Wed May 25, 2011 11:53 am

Hello Arieh,

Some questions:
- What's the environment you are working with? What TeeChart version are you using?
- What error messages are you getting and when? If it's always happening in a concrete situation, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Arieh
Newbie
Newbie
Posts: 28
Joined: Mon Feb 21, 2011 12:00 am

Re: Message Box popup when errors

Post by Arieh » Wed May 25, 2011 12:04 pm

I am using a TeeChart2010.ocx (v3) on the client browser, and using C++ calling COM (TeeChart::TChart) on the server.
The message message box errors sporadically occur on the client, and may occur on the server.
It is difficult to describe the scenario(s) that cause a message box error.
However my question is not about a particular error, it is rather about the ability to disable the message box popup should an error occur - particularly on the server.
If you run one a previous tchart version, and run one of the scenarios of a runtime error fixed in the latest versions, the you should be able to get an error popup.

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Message Box popup when errors

Post by Yeray » Fri May 27, 2011 12:00 pm

Hello Arieh,

In this case I think it's more a general web programming issue than a TeeChart one.
Googling a little bit I've found a Silent property that could be a first clue. But it seems you could find problems with the ActiveX objects as said here. Anyway, it could merit a test opportunity. Have you tried it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Arieh
Newbie
Newbie
Posts: 28
Joined: Mon Feb 21, 2011 12:00 am

Re: Message Box popup when errors

Post by Arieh » Sun May 29, 2011 6:11 am

Hi Yeray,
Thanks for the reply. The Silent property that you mention looks like it may work when the message box is client side.
It doesn't help our critical issue, which is when the message box is server side.
Arieh

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Message Box popup when errors

Post by Narcís » Mon May 30, 2011 7:09 am

Hello Arieh,

Most message boxes in TeeChart are not displayed intentionally but they might be due to an exception. In some cases the only way to avoid them to appear is fixing the error causing them. Could you please let us know in which exact circumstances do you get such error messages and with which TeeChart version? A simple example project we can run "as-is" to reproduce the issues here would also help.

Thanks in advance.
Best Regards,
Narcís Calvet / 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

Post Reply