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

Posted on 2013-12-12
Last Modified: 2013-12-17
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?
Question by:CRESLISA
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39714823
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.
LVL 76

Expert Comment

ID: 39714938
The general way to register files is to type

regsvr32 [FilePath]

in the Windows 'Run' box.

Expert Comment

ID: 39715305
Windows running painfully slow? Try these tips..

Stay away from Speed Up Computer Programs that do more harm than good.
Try these tips instead.
Step by step instructions in trouble shooting Windows Performance issues.

LVL 76

Expert Comment

ID: 39715327

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

Author Comment

ID: 39715397
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.

Accepted Solution

CRESLISA earned 0 total points
ID: 39715775
This worked for me regtlib msdatsrc.tlb. I don't know why, my Help Desk guy found this.

Author Closing Comment

ID: 39723506
It solved my problem.

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question