LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX control is not registered on this computer / Pb 64 bits execution

Hello,

 

I try to use several ActiveX controls for my 64 bits application on CVI 2017. I have also a Windows 10 64 bits version.

The project compiles but the Debug64.exe does not work and I get the message "ActiveX control is not registered on this computer" when the panel tries to load.

If I try to run the same application in Debug32, every thing is fine. I really want to run it in 64 bits as it is a customer request.

 

I have already tried the solution on this link : https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8FFSA0&l=fr-FR

but I don't really understand how this work.

 

As my ActiveX control is a flat scroll bar, i also tried to register the .ocx by doing "regsvr32 mscomct2.ocx" on the command prompt. The ocx registers just fine "but the problem is still the same on CVI.

 

I also tried to create an ActiveX controller but nothing seems to work.

So it is really possible to use ActiveX controls on a 64 bits application on CVI ? Thank you for any advice on how I can use these controls.

 

0 Kudos
Message 1 of 2
(1,602 Views)

Hello Erwan91,

 

Are you sure that you have a 64 bits ActiveX control?

If so, when you registered the ActiveX component, did you use the regsvr32 in the System32 or the SysWOW64 folder?

Depending on that folder, you'll register it in 32 or 64 bits.

Also did you run the command prompt with administrator rights?

 

Have a nice day!

Clement

 

 

0 Kudos
Message 2 of 2
(1,414 Views)