Solved

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

Posted on 2013-12-12
7
1,029 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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.

813 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

9 Experts available now in Live!

Get 1:1 Help Now