Home » MS OfficeRSS

Can't figure out how to register MSCOMCTL.OCX in Windows 7

I've been searching for answers all afternoon trying to register this MSCOMCTL.OCX file, nothing is working.  The closest I got away from the "Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered: a file is missing or invalid" that had been plaguing me was when I tried to register it through by typing REGSVR32 MSCOMCTL.OCX in the RUN field and the error message returned is 'The module MSCOMCTL.OCX may not be compatible with the version of Windows that you're running.  Check if the module is compatible with an x86(32-bit)or x64 z(64 bit) version of the regsvr32.exe'.


All I am trying to do is install some freeware, can anyone help me?

 

8 Answers Found

 

Answer 1

Hi Clemson.  As far as I know, this component  is not compatible  with Windows 7, therefore, you must run  your application using the Windows XP compatibility mode.
Best regards,
Edgar Lugo López
 

Answer 2

Since .Net 2.0

        'http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx
        Dim sp As New System.IO.Ports.SerialPort
        sp.PortName = "COMx"
        sp.BaudRate = 9600
        sp.DtrEnable = True
        'etc
        Try
            sp.Open()
        Catch
        End Try
 

Answer 3

Thank you All for your friendly help.


Hi Clemson,

Welcome to MSDN forums!

The Mscomctl.ocx is Windows Common Controls.
Sometime certain Microsoft Libraries can become unregistered when installing and uninstalling a lot of software. One very common problem is the MSCOMCTL.OCX.

To correct the error, first search your drive for MSCOMCTL.OCX to see if you have it. If not you can download it from HERE: http://www.majorgeeks.com/files/mscomctl.zip

The file  should be placed in your C:\WINDOWS\SYSTEM directory.
Once it is there click START--> RUN and type "REGSVR32 MSCOMCTL.OCX" (No quotes) in the box to register  this control.
That should fix the problem.

Or please register this control under Administrator role.

Please check  this similar case for detailed instruction:
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/448bd73d-ccf6-4415-9180-52c03bd3bcd4



Best regards,
Martin Xie


Please remember to mark the replies as answers  if they help  and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

 

Answer 4

If you have the 64-bit version  of Windows 7, see the following:

http://social.answers.microsoft.com/Forums/en-US/w7programs/thread/f96acaa3-90d7-437a-a9cc-9130eb17fdb4

Just an FYI, all Visual Basic 6.0 runtime components are supported under Windows 7.

 

Answer 5

Hi Clemson.  As far as I know, this component  is not compatible  with Windows 7, therefore, you must run  your application using the Windows XP compatibility mode.
Best regards,
Edgar Lugo López
No entiendes realmente algo a menos que seas capaz de explicarselo a tu abuela - Albert Einstein

Thanks for your explanation! I understand this part.
 

Answer 6

How obnoxious that you experts mark this as answered by posting a link which instructs the user to execute the command that  the OP clearly said in his 2 sentences generated the error.  Maybe this functionality should be outsourced  after all. Then I tried to vote against your answer being helpful,  and what do you know,  the only vote allowed  is positive, boy oh boy this is so objective I really must commend the whole process. I'm going back to acquiring MS products from bit torrent.
 

Answer 7

Had error with the same code "DLLRegisterserver error code 0x08002801c" - all you need is to create a bat-file with "REGSVR32 MSCOMCTL.OCX" inside and run it as administrator.
 

Answer 8

To correct the error, first search your drive for MSCOMCTL.OCX to see if you have it. If not you can download it from HERE: http://www.majorgeeks.com/files/mscomctl.zip


The file should be placed in your C:\WINDOWS\SYSTEM directory.
Once it is there click START--> RUN and type "REGSVR32 MSCOMCTL.OCX" (No quotes) in the box to register this control.
That should fix the problem.

Or please register this control under Administrator role.
! If you have any feedback, please tell us.

 

Everyone always forgets to mention the "Administrator role" or, like here, people overlook it.

RUN AS ADMINISTRATOR

RUN AS ADMINISTRATOR

RUN AS ADMINISTRATOR

This worked for me beautifully.  Get the afrementioned zip, extract to said directory ( C:\WINDOWS\SYSTEM directory. ) And instead of doing the "Start > Run" go to Start > Programs > Accessories > LEFT CLICK ON "Command Prompt" and choose "RUN AS ADMINISTRATOR"

I repeat, RUN AS ADMINISTRATOR

then use "CD C:\Windows\system"

NOT \system32

Then "regsvr32 mscomctl.ocx"

Done.  

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter