Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I register ActiveX controls?

As fas as I know I have two copies of the same version of MS6.0. When I bring code in from one copy to the other I get the message

"The Active X Control cannot be instantiated."

I hit OK and it says:
"The Active X Control {bunch of hex values} is not registerd on this computer. Register the control and try again."

If I remove all my cwdiolines and cwdioline and cwdioport and cwdioports stuff and add the control again from the Registered ActivX Controls folder it doesn't help. If I remove any DAQ device I have installed and reboot the computer and then run the program's exe file it works. It's always when I load the project's workspace that I have this problem.

Any info on how to register ActiveX controls without d
oing another reinstall?

Grant
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 1 of 3
(4,397 Views)
Run regsvr32.exe CONTROL_NAME from Start->Run...

For example, regsvr32 c:\windows\system\cwdaq.ocx

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(4,397 Views)
Sorry. Please disregard this post. I thought it was trying to register two of my cwdio DAQ controls but it was complaining about an ActiveX text box control that I forgot to reinstall after I rebuilt my system.

Grant
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 3 of 3
(4,397 Views)