Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Object Library Not Registered When Adding Windows Common Controls 6.0

I am trying to install Visual Studio 6 on a Windows 7 32bit machine.

The OS intall was from bare metal.

I followed the instructions mentioned here (which I have used before)

The install went fine with no errors reported but when I try to add the Microsoft Windows Common Controls 6.0 to the toolbox I get the "Object Library Not Registered" Error.

I tried doing a manual uninstall and reinstall of the OCX which both succeeded but I still have the same error.

I tried installing SP6 and that installed without error (and updated the OCX to a newer version) but I still have the same problem.

EDIT:

As mentioned below on further investigation it seems that the IE10 update breaks the MSCOMCTL.ocx. However I also think this is something to do with the order because I have another Windows 7 machine with IE10 that works fine.

like image 946
Matt Wilko Avatar asked Mar 25 '13 12:03

Matt Wilko


2 Answers

On 32-bit machines:

cd C:\Windows\System32
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb

or on 64 bit machines:

cd C:\Windows\SysWOW64
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb

These need to be run as administrator.

like image 147
Ofer Zelig Avatar answered Sep 21 '22 20:09

Ofer Zelig


I can confirm that this is not fixable by unregistering and registering the MSCOMCTRL.OCX like before. I have been trying to pin down which update is the source of the problem and it looks like it's either IE10 or IE10 in combination with some other update that's causing the problem. If I can get more time to invest in this I'll update my post but in the meantime uninstalling IE10 resolves the issue.

like image 2
RickF Avatar answered Sep 22 '22 20:09

RickF