添加 Windows 通用控件 6.0 时未注册对象库 [英] Object Library Not Registered When Adding Windows Common Controls 6.0

查看:19
本文介绍了添加 Windows 通用控件 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.

解决方案

On 32-bit machines:

cd C:WindowsSystem32
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb

or on 64 bit machines:

cd C:WindowsSysWOW64
regsvr32 mscomctl.ocx
regtlib msdatsrc.tlb

These need to be run as administrator.

这篇关于添加 Windows 通用控件 6.0 时未注册对象库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆