Solved

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

Posted on 2013-12-12
7
1,003 Views
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?
0
Comment
Question by:CRESLISA
7 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
0
 
LVL 76

Expert Comment

by:GrahamSkan
Comment Utility
The general way to register files is to type

regsvr32 [FilePath]

in the Windows 'Run' box.
0
 
LVL 1

Expert Comment

by:kostbad
Comment Utility
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 76

Expert Comment

by:GrahamSkan
Comment Utility
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
0
 
LVL 1

Author Comment

by:CRESLISA
Comment Utility
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.
0
 
LVL 1

Accepted Solution

by:
CRESLISA earned 0 total points
Comment Utility
This worked for me regtlib msdatsrc.tlb. I don't know why, my Help Desk guy found this.
0
 
LVL 1

Author Closing Comment

by:CRESLISA
Comment Utility
It solved my problem.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now