11-13-2009 02:26 PM
Hello,
I'm having trouble installing cwui.ocx (from Measurement Studio) in Windows 7. The software for our product was developed with Measurement Studio for Visual Basic V. 6. When I try to run it in Windows 7, I get the message "Can't load (or register) custom control cwui.ocx". My software, including cwui.ocx, installs and runs correctly in Windows XP.
SETUP.LST specifies the path as follows:
File21+1,,cwui.oc_,cwui.ocx,$(WinSysPath),,$(Shared),8/1/2001,2301952,66.0.3.589
Any suggestions for a fix for Windows 7 would be appreciated.
Thanks,
Richard
Solved! Go to Solution.
11-16-2009 06:07 PM
Howdy Richard,
I copied over the cwui.ocx (and its dependencies), from MStudio 8.1.2.143 to a machine with Windows 7 installed. I then manually tried registering the ActiveX control using Regsvr32.exe cwui.ocx. It failed with errors if I did not run the command prompt as an administrator; once I ran the command prompt as an administrator and then registered the ActiveX with administrative access, it registered properly. Thus, I believe this's a permissions issue.
Confirm that you're running all of this with Administrative privileges (Windows 7 is very particular about its permissions for each program), and I bet that's the culprit.
11-18-2009 01:59 PM
Hello pBerg,
Your suggestion (in reply to my inquiry about how to install cwui.ocx) worked perfectly. I really appreciate the help.
With thanks,
Richard
11-19-2009 02:19 PM
08-27-2011 06:59 AM
@pBerg wrote:
Howdy Richard,
I copied over the cwui.ocx (and its dependencies), from MStudio 8.1.2.143 to a machine with Windows 7 installed. I then manually tried registering the ActiveX control using Regsvr32.exe cwui.ocx. It failed with errors if I did not run the command prompt as an administrator; once I ran the command prompt as an administrator and then registered the ActiveX with administrative access, it registered properly. Thus, I believe this's a permissions issue.
Confirm that you're running all of this with Administrative privileges (Windows 7 is very particular about its permissions for each program), and I bet that's the culprit.
Hi
I'm having the same problem with another *.ocx file. Could you tell me how I can check the its dependencies before copy pasting it?
07-26-2012 04:03 PM
there's a program i use called dll explorer to find dependencies.