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

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?
LVL 1
CRESLISAAsked:
Who is Participating?
 
CRESLISAConnect With a Mentor Author Commented:
This worked for me regtlib msdatsrc.tlb. I don't know why, my Help Desk guy found this.
0
 
Dave BaldwinFixer of ProblemsCommented:
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
 
GrahamSkanRetiredCommented:
The general way to register files is to type

regsvr32 [FilePath]

in the Windows 'Run' box.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
kostbadCommented:
0
 
GrahamSkanRetiredCommented:
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
 
CRESLISAAuthor Commented:
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
 
CRESLISAAuthor Commented:
It solved my problem.
0
All Courses

From novice to tech pro — start learning today.