I have a VB.NET application which was built with TeeChart Pro ActiveX 5 on VS 2008.
First problem, it does not display a window when installed on Windows 7 (x86 32 bit), but does run on XP (x86), XP (x64) and Vista Business (x86).
The process is active in the process list (either Task Manager or Process Explorer), and I have to kill it.
I have checked that the TeeChart5 .ocx files can be registered after elevation to Administrator.
Thinking that the problem may be resolved with 8.0.0.8 I downloaded the evalutaion of TeeChart Pro ActiveX Control v8.
Second problem, I can't build by VB.NET application. I can add references for TeeChart but I cannot add references for AxTeeChart which are present when built with TeeChart 5.
So I tried to build an TeeChart example from C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Evaluation\Examples\Visual Studio .NET\VBasic\Adding Series Project and after fixing the references I find that it is using TeeChart 5 not 8.
Third problem, I can't build the example with TeeChart 8 because I can't define a reference for AxTeeChart.
I am not a VB programmer, and I have not used .ocx before. I am only trying to get this auxialry app to install and run with our product which is a C++ app.
1. Should TeeChart5 ActiveX work with Windows 7?
2. How do I add a reference to AxTeeChart in VS2008 to VB.NET?
VB App using TeeChart5 ActiveX does not work on Windows 7
-
- Newbie
- Posts: 3
- Joined: Mon Oct 15, 2001 4:00 am
Re: VB App using TeeChart5 ActiveX does not work on Windows 7
Hi Bruce,
First of all I'd check if TeeChart v5 and TeeChart v8 are correctly registered simply trying to execute de respective feature demos:
"C:\Program Files\TeeChart Pro v5 ActiveX Control\Examples\Visual Basic\TeeV5Demo\TeeChartv5FeatureDemo.exe"
"C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Evaluation\Examples\Visual Basic\TeeChartAXV8Demo\TeeChartv8FeatureDemo.exe"
If both exes work fine and you can see the demos on them, the ocxs should be registered.
Regarding the VisualStudio projects, you should use the strong named dlls on them (AxInterop.TeeChart.dll and Interop.TeeChart.dll), not directly the ocx. You should find them at:
"C:\Program Files\TeeChart Pro v5 ActiveX Control\Utilities\VS.NET\Strong Named DLLs"
"C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Evaluation\Examples\Visual Studio .NET\CSharp\Dragging\obj\"
First of all I'd check if TeeChart v5 and TeeChart v8 are correctly registered simply trying to execute de respective feature demos:
"C:\Program Files\TeeChart Pro v5 ActiveX Control\Examples\Visual Basic\TeeV5Demo\TeeChartv5FeatureDemo.exe"
"C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Evaluation\Examples\Visual Basic\TeeChartAXV8Demo\TeeChartv8FeatureDemo.exe"
If both exes work fine and you can see the demos on them, the ocxs should be registered.
Regarding the VisualStudio projects, you should use the strong named dlls on them (AxInterop.TeeChart.dll and Interop.TeeChart.dll), not directly the ocx. You should find them at:
"C:\Program Files\TeeChart Pro v5 ActiveX Control\Utilities\VS.NET\Strong Named DLLs"
"C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Evaluation\Examples\Visual Studio .NET\CSharp\Dragging\obj\"
Yes, it works.Bruce.McDowall wrote:1. Should TeeChart5 ActiveX work with Windows 7?
In the "Solution Explorer", right click on "References" (with "Show All files" selected) and go to "Add Reference...". Then, browse to the dlls:Bruce.McDowall wrote:2. How do I add a reference to AxTeeChart in VS2008 to VB.NET?
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 3
- Joined: Mon Oct 15, 2001 4:00 am
Re: VB App using TeeChart5 ActiveX does not work on Windows 7
I copied the 5.0.6 example from my development PC to a deployment PC. The example does not display a window but remains in the task/process list.Yeray wrote:Hi Bruce,
Yes, it works.Bruce.McDowall wrote:1. Should TeeChart5 ActiveX work with Windows 7?
I tried to install TeeChart ActiveX 5.0.6 on the deployment PC but the installation hangs and appears to be active in the task/process list. If it is killed then the uninstall fails. This is a Windows 7 Enterprise system and the user has administrator rights.
I would rather resolve this problem as we have no need to move to 8 at the moment.
Re: VB App using TeeChart5 ActiveX does not work on Windows 7
Hi Bruce,
It should work simply copying the application and the ocx to the second machine and registering the ocx.
Of course the installation of TeeChart registers the ocx, and it should work fine. If it doesn't it will probably be due to an antivirus, antispyware, registry-blocker,... that doesn't allow the installer to run properly.
It should work simply copying the application and the ocx to the second machine and registering the ocx.
Of course the installation of TeeChart registers the ocx, and it should work fine. If it doesn't it will probably be due to an antivirus, antispyware, registry-blocker,... that doesn't allow the installer to run properly.
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 3
- Joined: Mon Oct 15, 2001 4:00 am
Re: VB App using TeeChart5 ActiveX does not work on Windows 7
The anti-virus software in disabled and as this is a test machine there is no additional software blocking installations.
I tried installing both TeeChart 5 ActiveX and the evalutaion copy of TeeChart 8 ActiveX. Both hung. Further I can't unintall them because there is a missing INSTALL.LOG file. How do I remove the Teechart information safely?
I tried installing both TeeChart 5 ActiveX and the evalutaion copy of TeeChart 8 ActiveX. Both hung. Further I can't unintall them because there is a missing INSTALL.LOG file. How do I remove the Teechart information safely?
Re: VB App using TeeChart5 ActiveX does not work on Windows 7
Hi Bruce,
Can you reproduce the problem in another computer?Bruce.McDowall wrote:The anti-virus software in disabled and as this is a test machine there is no additional software blocking installations.
I tried installing both TeeChart 5 ActiveX and the evalutaion copy of TeeChart 8 ActiveX. Both hung.
You could remove the installation folder, if any, and unregister the ocx by:Bruce.McDowall wrote:Further I can't unintall them because there is a missing INSTALL.LOG file. How do I remove the Teechart information safely?
Code: Select all
C:\>regsvr32 /u "C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Control\TeeChart8.ocx"
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |