Link to home
Start Free TrialLog in
Avatar of CRESLISA
CRESLISAFlag for United States of America

asked on

How do I register mscomct2.ocx on a Windows 7 machine

I upgraded my development machine from XP to Windows 7, which I also use for compiling. I have VB6 projects that use this OCX. I'm getting an error when I try to load a project referencing this OCX. (Object Library not registered).

When I remove the OCX reference from the VBP, the error goes away.

How do I get this registered?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

This article says that it is supported in Windows 7 but it's not in the same place as it would be in XP.  Also give instructions on how to 'register' it. http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/mscomctlocx-dependency-error-attempting-to-install/f96acaa3-90d7-437a-a9cc-9130eb17fdb4?auth=1
The general way to register files is to type

regsvr32 [FilePath]

in the Windows 'Run' box.
kostbad,

It is an objective of this forum to be a source of information as opposed to a link farm, so please give at least a summary of what it says in your link
Avatar of CRESLISA

ASKER

Using regsvr32 gives a message that it succeeded. Only it did not.

After doing regsvr32 I rebooted. Then I deleted mscomct2.ocx from the VBP. I opened the project and did not get an error. When I tried to add the controls in that OCX, I got the same error.

So, I still need a solution.

By the way, my Windows 7 is 32 bit.
ASKER CERTIFIED SOLUTION
Avatar of CRESLISA
CRESLISA
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It solved my problem.