It appears that TEN files created with Tchart v2.0.2242.29273 (the dotnet fw 1.1 build) in VS2005 are not readable an application created with tchart v2.0.2242.29274 (the dotnet fw 2.0 build) in Vs2005.
if this is the case then it will be extreamly difficult to migrate from the FW1.1 build up to the FW2.0 build as all previously created ten files will be useless.
the error I'm getting is
System.Runtime.Serialization.SerializationException: Type 'Steema.TeeChart.Styles.StringList' in Assembly 'TeeChart, Version=2.0.2242.29273, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' is not marked as serializable
is it possible to confirm this please.
ta
Adrian.
TEN file compatability versions v2....29273 & v2...29274
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Adrian,
We haven't been able to reproduce the problem here using the same versions you report to create and load the file.
The code I used is:
Could you please send us an example we can run "as-is" to reproduce the problem here or modify the code above so that we can reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
We haven't been able to reproduce the problem here using the same versions you report to create and load the file.
The code I used is:
Code: Select all
private void Form1_Load(object sender, EventArgs e)
{
line1.FillSampleValues();
}
private void button1_Click(object sender, EventArgs e)
{
tChart1.Export.Template.Save(@"e:\temp\xv.ten");
}
private void button2_Click(object sender, EventArgs e)
{
tChart1.Import.Template.Load(@"e:\temp\xv.ten");
}
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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 |
The problem is trying to read a ten file created with v2.0.2242.29273 using v2.0.2242.29274 ... or the other way around.
your example would only be using one version which does work fine. Build you app using one version and create a ten file, then rebuild using the other version and try and read the file...
your example would only be using one version which does work fine. Build you app using one version and create a ten file, then rebuild using the other version and try and read the file...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Adrian,
Sorry for not being clear enough but that's what I did. I created 2 identic applications, one built with v2.0.2242.29273 and the other one built with v2.0.2242.29274. All Importing and exporting combinations worked fine.
Can you please try if this works at your end? If it doesn't, could you please modify the code I posted so that we can reproduce the problem here?
Thanks in advance.
Sorry for not being clear enough but that's what I did. I created 2 identic applications, one built with v2.0.2242.29273 and the other one built with v2.0.2242.29274. All Importing and exporting combinations worked fine.
Can you please try if this works at your end? If it doesn't, could you please modify the code I posted so that we can reproduce the problem here?
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 |