Error opening form with TChart on it.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jzarech
Newbie
Newbie
Posts: 58
Joined: Mon Jul 07, 2008 12:00 am

Error opening form with TChart on it.

Post by jzarech » Tue Apr 26, 2011 10:24 pm

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
Attachments
teechartver.png
teechartver.png (39.33 KiB) Viewed 7918 times
erroropening.png
erroropening.png (20.42 KiB) Viewed 7892 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Error opening form with TChart on it.

Post by Sandra » Wed Apr 27, 2011 10:44 am

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,
Best Regards,
Sandra Pazos / 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

jzarech
Newbie
Newbie
Posts: 58
Joined: Mon Jul 07, 2008 12:00 am

Re: Error opening form with TChart on it.

Post by jzarech » Wed Apr 27, 2011 9:15 pm

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.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Error opening form with TChart on it.

Post by Sandra » Thu Apr 28, 2011 11:13 am

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,
Best Regards,
Sandra Pazos / 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