Page 1 of 1

Message Box popup when errors

Posted: Wed May 25, 2011 11:29 am
by 16658606
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?

Re: Message Box popup when errors

Posted: Wed May 25, 2011 11:53 am
by yeray
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.

Re: Message Box popup when errors

Posted: Wed May 25, 2011 12:04 pm
by 16658606
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.

Re: Message Box popup when errors

Posted: Fri May 27, 2011 12:00 pm
by yeray
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?

Re: Message Box popup when errors

Posted: Sun May 29, 2011 6:11 am
by 16658606
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

Re: Message Box popup when errors

Posted: Mon May 30, 2011 7:09 am
by narcis
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.