Page 1 of 1

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

Posted: Wed Feb 22, 2006 6:28 am
by 9637403
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.

Posted: Mon Feb 27, 2006 2:45 am
by 9637403
is there any update on this one?

Posted: Mon Feb 27, 2006 12:37 pm
by narcis
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.

Posted: Mon Feb 27, 2006 9:19 pm
by 9637403
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...

Posted: Tue Feb 28, 2006 9:38 am
by narcis
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.