LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Message "ActiveX Control not registred on computer"

Hi!

I build an installation package in order to install the developed application in other pcs.

The installed software runs perfectly, but when I try to access some controls, like CWGraph, ActiveX control from Measurement Studio the following message appears:

ActiveX Control not registred on computer

How can I register the activex control in other machines? Is it possible to do it automatically using the installation package?

Thank you a lot!
0 Kudos
Message 1 of 6
(4,132 Views)
Hi Oliveira,

If you are using the Measurement Studio ActiveX controls in a CVI application and want to properly deploy that application, build an installer and include the CWUI_OCX.msm merge module in the Drivers & Components tab of the Edit Installer dialog. The merge module is found in the C:\Program Files\Common Files\Merge Modules\ directory.  By including this merge module in your installer, all the registration is taken care of. This is the best practice to follow.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 6
(4,127 Views)
There are many modules that can be installed in my machine, but there isn't this one. How can I get it?

Thank you!


0 Kudos
Message 3 of 6
(4,087 Views)
Hi Oliveira,

I'm suprised you don't have that merge module installed on your system. Well, okay, lets get it from another place then.  Look on your Measurement Studio 6 CD under the Redist\MeasurementStudio\MSMs\ directory and there you should see the merge module. 

See if that helps!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 4 of 6
(4,079 Views)
I have the measurement studio version 8.1.1

This directory is not present in this version.

I also tried to look for this file at internet, but I didn't find it.

Any other suggestion?
0 Kudos
Message 5 of 6
(4,075 Views)

Hi Oliveira,

Back in Measurement Studio 6.0, that merge modules directory didn't exist and so you had to use the CD to get the MSMs. Thus since you mentioned that you didn't have that MSM, I thought you had Measurement Studio 6.0 installed. However, you now said you have Measurement Studio 8.1.1 and when you install C++ support, it should install all those merge modules into the directory I mentioned.

Now my fear is that you just installed the .NET support for 8.1.1 and not the C++ and maybe at some point you installed Measurement Studio 6.0. If this was the case, this should explain the state you are in. Now, I don't know if you got the Standard, Professional or Enterprise package and that would help some. The reason for that information is because with Pro and Enterprise, you get 2 CDs, one for Visual Studio .NET 2003/2005 and on that says Measurement Studio Support for Visual Studio 6.0.  That second CD would have had that Redist directory.

The quick fix is to just re-run the 8.1.1 installer and make sure C++ support is enable which will copy those merge modules to the Common Files\Merge Modules directory.

Hope this helps!

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 6 of 6
(4,071 Views)