Menu Close

How do I fix Mscomctl OCX not correctly registered?

How do I fix Mscomctl OCX not correctly registered?


  1. Open Command Prompt with as Administrator. Navigate to C:\Windows\SysWOW64 by typing the following command: cd C:\Windows\SysWOW64.
  2. Once in the SysWOW64 directory, execute the following command in order to properly register the MSCOMCTL. OCX: Regsvr32 MSCOMCTL. OCX.

How do I register Mscomctl OCX?

How to Register MSCOMCTL. OCX

  1. Download the MSCOMCTL.
  2. Open the downloaded file and extract it using your preferred archive management program.
  3. Click Start and select “Run” if you are using Windows 2003 or XP.
  4. Enter the text “REGSVR32 MSCOMCTL.
  5. Click “Yes” if you are requested to give “REGSVR32.

What is an OCX file in VB?

An OCX file contains a reusable software module, called an ActiveX control, which can be used within Windows software programs. ActiveX controls can be created for various purposes, such as user interface forms, webpage widgets, online games, and multimedia viewers.

How do I remove OCX from my registry?

Click “Start > All Programs > Accessories”. Right-click on “Command Prompt” and select “Run as administrator”. Execute the necessary regsvr32 command to register or unregister the corresponding DLL or OCX file.

How do I register a component in VB6?

Open an elevated/admin command prompt (search for cmd in the Start Menu search box, right-click, Run as administrator) and try to register the OCX using regsvr32. If none of this works you might need to add the VB6 licensing keys to the registry.

How do I unregister Mscomctl OCX?

32 Bit Windows

  1. Unregister the new OCX file.
  2. Make a backup of the OCX file C:\Windows\System32\MSCOMCTL.OCX to C:\Windows\System32\MSCOMCTL.bak.
  3. Copy a legacy version of the MSCOMCTL.
  4. Register this legacy OCX file with the following command:
  5. Unregister this legacy version of the OCX file:

Why can’t I load MSComCtl?

The KillBit is checked only when the control is requested by an application, so you’re safe from resets once the application launches and loads the control. Show activity on this post. If it is 2.1 version, it will cause cannot load MSCOMCTL.OCX issue.

How to resolve OCX could not be loaded problem?

So in a similar “OCX could not be loaded” situation one possible way of resolution is to start a new project. Put the control on one of the forms and check the vbp file with notepad to see what version it is expecting. Show activity on this post. The problem has been resolved by running the following in elevated command prompt:

Where is MSComCtl OCX stored?

MSCOMCTL.OCX is registered in the usual system32 folder. The executable produced by exactly the same project, an hour before the update runs fine and loads the updated MSCOMCTL.OCX (I have checked it with Process Explorer).

Why does Microsoft Office 2010 not support MSComCtl?

Microsoft Office 2010 products (or later) install updates that break compatibility of MSCOMCTL.ocx and COMCTL32.ocx. Unfortunately this affects many other programs such Visual Basic 6 SP6 and even Oracle Virtual Box v5. The actual problem is HKEY_CLASSES_ROOT\\TypeLib\\ {831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\\2.0 registry key.