TEN file compatability versions v2....29273 & v2...29274

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Adrian
Advanced
Posts: 116
Joined: Thu Jun 23, 2005 4:00 am

TEN file compatability versions v2....29273 & v2...29274

Post by Adrian » Wed Feb 22, 2006 6:28 am

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.

Adrian
Advanced
Posts: 116
Joined: Thu Jun 23, 2005 4:00 am

Post by Adrian » Mon Feb 27, 2006 2:45 am

is there any update on this one?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Feb 27, 2006 12:37 pm

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:

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");
        }
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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Adrian
Advanced
Posts: 116
Joined: Thu Jun 23, 2005 4:00 am

Post by Adrian » Mon Feb 27, 2006 9:19 pm

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...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 28, 2006 9:38 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply