Solved

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

Posted on 2013-12-12
7
1,061 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 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. 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
ID: 39714938
The general way to register files is to type

regsvr32 [FilePath]

in the Windows 'Run' box.
0
 
LVL 1

Expert Comment

by:kostbad
ID: 39715305
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39715327
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
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.
0
 
LVL 1

Accepted Solution

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

Author Closing Comment

by:CRESLISA
ID: 39723506
It solved my problem.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
checkbox to hide entire section 10 58
Cannot install image with GHOST 4 38
Delete Temp on all PCs 7 46
Macro problems with Excel file 6 22
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

735 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