VB App using TeeChart5 ActiveX does not work on Windows 7

TeeChart for ActiveX, COM and ASP
Post Reply
Bruce.McDowall
Newbie
Newbie
Posts: 3
Joined: Mon Oct 15, 2001 4:00 am

VB App using TeeChart5 ActiveX does not work on Windows 7

Post by Bruce.McDowall » Wed Jun 09, 2010 11:04 am

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?

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: VB App using TeeChart5 ActiveX does not work on Windows 7

Post by Yeray » Thu Jun 10, 2010 2:31 pm

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\"
Bruce.McDowall wrote:1. Should TeeChart5 ActiveX work with Windows 7?
Yes, it works.
Bruce.McDowall wrote:2. How do I add a reference to AxTeeChart in VS2008 to VB.NET?
In the "Solution Explorer", right click on "References" (with "Show All files" selected) and go to "Add Reference...". Then, browse to the dlls:
add_references.png
add_references.png (76.85 KiB) Viewed 7740 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Bruce.McDowall
Newbie
Newbie
Posts: 3
Joined: Mon Oct 15, 2001 4:00 am

Re: VB App using TeeChart5 ActiveX does not work on Windows 7

Post by Bruce.McDowall » Fri Jun 11, 2010 10:13 am

Yeray wrote:Hi Bruce,
Bruce.McDowall wrote:1. Should TeeChart5 ActiveX work with Windows 7?
Yes, it works.
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.

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.
TeeChart installation hanging.JPG
TeeChart installation hanging.JPG (4.01 KiB) Viewed 7699 times
TeeChart installation procex.JPG
TeeChart installation procex.JPG (65.39 KiB) Viewed 7724 times
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.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: VB App using TeeChart5 ActiveX does not work on Windows 7

Post by Yeray » Tue Jun 15, 2010 8:12 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Bruce.McDowall
Newbie
Newbie
Posts: 3
Joined: Mon Oct 15, 2001 4:00 am

Re: VB App using TeeChart5 ActiveX does not work on Windows 7

Post by Bruce.McDowall » Mon Jun 21, 2010 2:08 pm

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?

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: VB App using TeeChart5 ActiveX does not work on Windows 7

Post by Yeray » Fri Jun 25, 2010 7:46 am

Hi Bruce,
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.
Can you reproduce the problem in another computer?
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?
You could remove the installation folder, if any, and unregister the ocx by:

Code: Select all

C:\>regsvr32 /u "C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Control\TeeChart8.ocx"
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply