Page 1 of 1

Chart exception Err.Description not reported when compiled

Posted: Wed Sep 19, 2007 2:42 am
by 9526464
I have found that the VB6 Err.Description property is not set for exceptions raised by the chart library when running a project that is compiled to native code. I am running ActiveX chart library v7.0.1.4. The same exception Err.Description property is set when running from the VB6 IDE.

In the IDE, I generated an error by running the following code:

On Error Goto errorhandler
TChart.Tools.Items(aValidIndex).asNearest.Series = -1

errorhandler:
MsgBox Err.Description: Method 'Series' of object 'INearestTool' failed.

I compiled the project and ran the same procedure to generate an identical error and I got:

errorhandler:
MsgBox Err.Description: Method '~' of object '~' failed

Why does the Err.Description property not get set when running from a compiled project?

Thanks in advance for your assistance.
- James

Posted: Tue Sep 25, 2007 2:57 pm
by Pep
Hi James,

at this moment we're not sure which could be causing this difference in the error message between the design time and runtime application.

We'll continue searching for a solution to this problem.

Posted: Sat Oct 27, 2007 4:18 am
by 9526464
Any update on this issue?

- James

Posted: Mon Nov 05, 2007 9:42 am
by Pep
Hi James,

for the moment this issue has not been resolved. It's down our bug/wish list but I cannot tell for sure when it will be addressed.