COMCTL32.OCX error in Windows 7

Hi,

I'm having a problem to run one of my software after installing Windows 7. Error message - "Component 'COMCTL32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid"

May I know where to get this file (COMCTL32.OCX) and what should I do next? ... too many in google and not sure which one. Those files are compatible with Windows 7?  

 

 
Question Info

Last updated August 10, 2018 Views 166,990 Applies to:
Answer

Hi SAM_WIN 7,

 

o    On which particular software are you facing this problem?

o    Do you have Visual Basic installed?

 

 

I’d not recommend downloading from third party website as there are many potential threats associated with it.

 

Here are two steps you may try.

 

Step 1: Re-register the component.

 

Verify if comctl32.ocx is in C:\windows\system32 folder. If you, you may try re-registering the file.

 

1.     Go to start and type cmd.

2.     Right-Click on cmd and select “Run as Administrator”.

3.     Type regsvr32 comctl32.ocx and press Enter.

 

If successful you should get a popup saying "DllregisterServer in
comscl32.ocx succeeded"

 

Explanation of Regsvr32 usage and error messages

http://support.microsoft.com/kb/249873

 

Step 2: Un-install and reinstall the software.

 

Re-installing helps in installing the missing component. Do this as a last resort.

For your reference:

 

Uninstall or change a program

http://windows.microsoft.com/en-US/windows7/Uninstall-or-change-a-program


Regards,

Shinmila H - Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think.

8 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.