Hello,
We are creating a teechart using MS VisualStudio 2005/c++ and teechart ocx version 7.0.1.3.
We are using the export command a few times like so:
chart->Export->SaveToFile(pathName.c_str());
we pass the same name each time. "chart" is a teechart object.
after some time we get a com exception with the error: catastrofic error
for this command.
How can we find out what was the problem and why the command failed?
The file is not set to Read only so this is not the error.
does teechart save latest error somewhere?
Thanks.
Zoe
finding out what is the error
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Zoe,
No, TeeChart doesn't keep an error log.
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
No, TeeChart doesn't keep an error log.
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
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 |
Instructions - How to post in this forum |
Hi,
you could try checking the path where the file is saved using similar code like this :
This could help to know if the error happens with specific path, filename, etc..
you could try checking the path where the file is saved using similar code like this :
Code: Select all
With tChart1.Export
.asJPEG.SaveToFile(Server.MapPath((Session("username")) &
"21.jpeg"))
Label1.Text = Server.MapPath((Session("username")) & "21.jpeg")
End With
Pep Jorge
http://support.steema.com
http://support.steema.com