I was trying some new things with CAB file/OCX... and I am no longer able to create charts.
I get...
ActiveX component can't create object: 'TeeChart.TChart'
When it hits this line...
Set Chart1 = CreateObject("TeeChart.TChart")
I tried uninstalling TeeChart then re-installing. It still does not work. Any suggestions?
Thx
ActiveX component can't create object: 'TeeChart.TChart'
-
- Newbie
- Posts: 12
- Joined: Fri Nov 15, 2002 12:00 am
- Location: San Diego, CA
Hi,
do you've more than one TeeChart Pro version installed on your system (for example v5 and v6) ? If yes, then you must use :
Set Chart1 = CreateObject("TeeChart.TChart.5")
or :
Set Chart1 = CreateObject("TeeChart.TChart.6")
instead of :
Set Chart1 = CreateObject("TeeChart.TChart")
do you've more than one TeeChart Pro version installed on your system (for example v5 and v6) ? If yes, then you must use :
Set Chart1 = CreateObject("TeeChart.TChart.5")
or :
Set Chart1 = CreateObject("TeeChart.TChart.6")
instead of :
Set Chart1 = CreateObject("TeeChart.TChart")
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 12
- Joined: Fri Nov 15, 2002 12:00 am
- Location: San Diego, CA
version 5 vs. version ?
Thanks for the reply.
I changed the command to:
Set Chart1 = CreateObject("TeeChart.TChart.5")
and the graphing functionality is back, thanks!
But, I only have version 5. Is there a way I can check to see what is installed (intentionally or otherwise)? How can I uninstall all versions and only run v5?
Thanks,
Don
I changed the command to:
Set Chart1 = CreateObject("TeeChart.TChart.5")
and the graphing functionality is back, thanks!
But, I only have version 5. Is there a way I can check to see what is installed (intentionally or otherwise)? How can I uninstall all versions and only run v5?
Thanks,
Don
Hi Don,
regsvr32 "c:\Path\TeeChart5.ocx" /u
to unregister.
You can check that you don't have more than one TeeChart Pro installed in the "Add/Remove Programs" or searchin for TeeChart in the RegEdit. In case you wanto do unisntall all of installations you can use the Add/Remove programs, and if you still having any TeeChart registered use the following :But, I only have version 5. Is there a way I can check to see what is installed (intentionally or otherwise)? How can I uninstall all versions and only run v5?
regsvr32 "c:\Path\TeeChart5.ocx" /u
to unregister.
Pep Jorge
http://support.steema.com
http://support.steema.com