Hi,
I searched the ActiveX forum for this subject but I did not find any real answers to my problem.
I tried to install a simple application using Teechar2010 (the last version update) in a machine wit Windows Me (Yes it is old!)
The install (using Installshield express) went ok without any problems. However when I start the program it says "Can't regitster Teechart"
I tried to use regsvr32 (and having Teechart in a directory where the name does not have spaces) but it gives an error "Loadlibrary ("c:\tmp\Teechart2010.ocx") failed. GetLastError returns 0x0000001f
What is missing?
I tried to use The Package and Deployment from VB and it says it could not find any dependencies of Teechart2010
Are there any dependencies on Teechart2010?
I also tried to make an installation using the Teechartdemo.exe and it also didn't work.
I have not tried my setup with an XP machine.
Thanks for any hints
can't register Teechart2010
Re: can't register Teechart2010
Hi jmserra,
To check if the ocx is correctly registered in the machine, please try to run the feature demo. You should find a shortcut to it through the StartMenu (named "TeeChart Pro AX v2010 feature demo"), in TeeChart programs group. Or you could find directly exe in your installation folder, at "\Examples\Visual Basic\TeeChartAXV2010Demo\TeeChartv2010FeatureDemo.exe".
Does it work for you?
If it doesn't work, you need to register the ocx. Once the features demo works, you should be able to use the ocx in your IDE.
Does the component appear in the VB6 toolbox/components list, when you create a new project?
To check if the ocx is correctly registered in the machine, please try to run the feature demo. You should find a shortcut to it through the StartMenu (named "TeeChart Pro AX v2010 feature demo"), in TeeChart programs group. Or you could find directly exe in your installation folder, at "\Examples\Visual Basic\TeeChartAXV2010Demo\TeeChartv2010FeatureDemo.exe".
Does it work for you?
If it doesn't work, you need to register the ocx. Once the features demo works, you should be able to use the ocx in your IDE.
Does the component appear in the VB6 toolbox/components list, when you create a new project?
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: can't register Teechart2010
Hi Yeray,
The ocx is working fine in the machine where I have VB6 installed. I have Windows XP SP3. The exe made in this machine also works fine.
The problem occorred when I tried to run the exe program which uses Teechart2010 in another machine (with Windows Me). Of course I prepared a setup using Installshield to make this.
I did also a setup installation for the demo. In that machine the demo does not work also. But the installation program apparently installs everything since it does not give me any error.
As I said, when I run my program or the Teechart demo I get this error saying Teechart can't register.
As I also said manually registering Teechart2010 with regsvr32 gives the error I reported. Is is a problem of Teechart file dependency?
The ocx is working fine in the machine where I have VB6 installed. I have Windows XP SP3. The exe made in this machine also works fine.
The problem occorred when I tried to run the exe program which uses Teechart2010 in another machine (with Windows Me). Of course I prepared a setup using Installshield to make this.
I did also a setup installation for the demo. In that machine the demo does not work also. But the installation program apparently installs everything since it does not give me any error.
As I said, when I run my program or the Teechart demo I get this error saying Teechart can't register.
As I also said manually registering Teechart2010 with regsvr32 gives the error I reported. Is is a problem of Teechart file dependency?
Re: can't register Teechart2010
Hi jmserra,
Excuse me, I thought you were talking about the TeeChart installation.
In that case, you may be interested on reading the "Tutorial 18 - TeeChart runtime installation requirements".
Excuse me, I thought you were talking about the TeeChart installation.
In that case, you may be interested on reading the "Tutorial 18 - TeeChart runtime installation requirements".
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: can't register Teechart2010
Hi Yeray,
I looked at the Tutorial18 as you said.
I added Teeuserx2010.hlp to my setup installation thinking that it could be the cause of file missing
I used this setup in a win98 second edition. I get the same error I reported in my first email.
I manually added the registry entry to Teeuserx2010.hlp. I get the same error.
Still the same error "Component Teechart2010.ocx or one of its dependencies not correctly registered: a file is missing or invalid"
Is the registry process looking for Teeusrerx8.hlp instead of Teeuserx2010.hlp? like it is indicated (incorrectly?) in the Tutorial18.
Like I said, manually registering Teechart also does not work. The error is "Loadlibrary ("c:\tmp\Teechart2010.ocx") failed. GetLastError returns 0x0000001f
I have to try this in an Windows XP machine maybe?
I looked at the Tutorial18 as you said.
I added Teeuserx2010.hlp to my setup installation thinking that it could be the cause of file missing
I used this setup in a win98 second edition. I get the same error I reported in my first email.
I manually added the registry entry to Teeuserx2010.hlp. I get the same error.
Still the same error "Component Teechart2010.ocx or one of its dependencies not correctly registered: a file is missing or invalid"
Is the registry process looking for Teeusrerx8.hlp instead of Teeuserx2010.hlp? like it is indicated (incorrectly?) in the Tutorial18.
Like I said, manually registering Teechart also does not work. The error is "Loadlibrary ("c:\tmp\Teechart2010.ocx") failed. GetLastError returns 0x0000001f
I have to try this in an Windows XP machine maybe?
Re: can't register Teechart2010
Hi jmserra,
Excuse us for the delay with this. We'll try to check this in a Windows 2000 machine asap.
In the meanwhile, could you please confirm that you are using the latest release available (v2010.0.0.2)?
Excuse us for the delay with this. We'll try to check this in a Windows 2000 machine asap.
In the meanwhile, could you please confirm that you are using the latest release available (v2010.0.0.2)?
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |