Windows forms project. I have the chart control on multiple different forms in my application already and everything has been working fine for months now.
I created a new form in the project today and dragged the TChart component from the toolbar onto the form resulting in a huge Visual Studio error message window the first entry being: Failed to create component 'TChart'...something about 'TeeChart' already exists in the project.
Now my entire project is broken. All the forms that already had chart controls cannot be opened or edited in the designer and I suddenly have a raft of errors of the type in the title.
What gives? A short while ago I update the DLL to the latest v3 but after that point my project was still fine for at least a month. Please tell me you know what this is.
Many thanks
'TChart' is ambiguous in the namespace 'Steema.TeeCh
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: 'TChart' is ambiguous in the namespace 'Steema.TeeCh
Hi rossmc,
I'm afraid this occurs because your project is referencing an old TeeChart.dll and you are trying to use a newer one now. Try updating your project's reference to newest TeeChart.dll and try it again.
Thanks in advance.
I'm afraid this occurs because your project is referencing an old TeeChart.dll and you are trying to use a newer one now. Try updating your project's reference to newest TeeChart.dll and try it again.
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 |
Resolved: 'TChart' is ambiguous in the namespace 'Steema.Tee
Thanks. Resolved by once again referencing the correct DLL.
Also, it looks like my toolbox in the Visual Studio IDE was 'corrupt'. I rebuilt it and now the TChart item in the toolbox is pointing to the correctly referenced DLL, meaning I can once again add charts without problems.
Also, it looks like my toolbox in the Visual Studio IDE was 'corrupt'. I rebuilt it and now the TChart item in the toolbox is pointing to the correctly referenced DLL, meaning I can once again add charts without problems.