Chart exception Err.Description not reported when compiled

TeeChart for ActiveX, COM and ASP
Post Reply
Andrew FT
Newbie
Newbie
Posts: 32
Joined: Thu Mar 31, 2005 5:00 am
Location: Toronto, Canada

Chart exception Err.Description not reported when compiled

Post by Andrew FT » Wed Sep 19, 2007 2:42 am

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

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Sep 25, 2007 2:57 pm

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.

Andrew FT
Newbie
Newbie
Posts: 32
Joined: Thu Mar 31, 2005 5:00 am
Location: Toronto, Canada

Post by Andrew FT » Sat Oct 27, 2007 4:18 am

Any update on this issue?

- James

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Nov 05, 2007 9:42 am

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.

Post Reply