Cannot load TeeChart v2 .ten file in TeeChart v2009
Posted: Tue Jan 05, 2010 11:39 am
We have a .NET 1.1 C#.NET application which uses TeeChart v2 and makes extensive use of templates stored in files.
We're attempting to upgrade this application to TeeChart 2009 but cannot get the old templates to load in the newer version of TeeChart. Before buying the new licenses we were lead to believe the versions would be backwards compatible - is this the case?
To replicate this behaviour in the simplest way, we used the Export > Native > Save... feature of the TeeChart v2 editor to save a chart definition to a .ten file. We then attempted to load this in very simple test project with a TeeChart 2009 control on a WinForm, using the dialog called via tChart1.Import.ShowImportDialog()
The exception we see upon attempting to import the file is "An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll".
Is there any way of getting the old TeeChart files to load into TeeChart 2009 or must we recreate all of our charts (this would be a huge task)??
Another thread on these forums (link) suggests "using LoadChartFromStreamCheck setting TryReadData to true" which a user had some success with, however I believe this may only work for VCL/CLX and not .NET?
Thanks for your help
We're attempting to upgrade this application to TeeChart 2009 but cannot get the old templates to load in the newer version of TeeChart. Before buying the new licenses we were lead to believe the versions would be backwards compatible - is this the case?
To replicate this behaviour in the simplest way, we used the Export > Native > Save... feature of the TeeChart v2 editor to save a chart definition to a .ten file. We then attempted to load this in very simple test project with a TeeChart 2009 control on a WinForm, using the dialog called via tChart1.Import.ShowImportDialog()
The exception we see upon attempting to import the file is "An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll".
Is there any way of getting the old TeeChart files to load into TeeChart 2009 or must we recreate all of our charts (this would be a huge task)??
Another thread on these forums (link) suggests "using LoadChartFromStreamCheck setting TryReadData to true" which a user had some success with, however I believe this may only work for VCL/CLX and not .NET?
Thanks for your help