Page 1 of 1

Error opening form with TChart on it.

Posted: Tue Apr 26, 2011 10:24 pm
by 13049545
Object of type 'Steema.TeeChart.Styles.ColorList' cannot be converted to type 'Steema.TeeChart.Styles.ColorList'.

I'm using Visual Studio 2008 sp 1.
Targeting .Net framework 3.5

And usine TChart .Net v3 see attached version screenshot.

Thanks,

Joseph

Re: Error opening form with TChart on it.

Posted: Wed Apr 27, 2011 10:44 am
by 10050769
Hello jzarech,

I think that the problem is the same of this thread, so see my answer and do I propose you in this.

Thanks,

Re: Error opening form with TChart on it.

Posted: Wed Apr 27, 2011 9:15 pm
by 13049545
I found the solution.

This project used to reference an old version of teechart.

And even though I changed the reference to the new teechart.dll in the project --

When I created a new project from scratch and added the new teechart to it I noticed that in the vbproj file the references were not the same as in the old project.

So I copied the new reference by hand from the new project to the old project and that solved this problem.

Re: Error opening form with TChart on it.

Posted: Thu Apr 28, 2011 11:13 am
by 10050769
Hello jzarech,

Thanks for your information. I am glad you have solved your problem and I recommend that when you have a related problem write these in only thread so is more pratical for you and for us put a only answer about similar items. :)

Thanks,