Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Component MSCOMCTL.OCX not correctly registered

📅 2012-Sep-10 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ error, mp3gain, mscomctl.ocx, registry, windows ⬩ 📚 Archive

MSCOMCTL.OCX error dialog

Problem

After I installed MP3Gain on Windows 8 and executed it, it threw this error:

Component ‘MSCOMCTL.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid

Solution

This error is caused because either the file MSCOMCTL.OCX is missing or it is not registered with the registry. To fix it, try the following:

  1. Find a copy of this file. You might find this file somewhere among your Windows application directories or can be found online. Place the file in a directory which will not be tampered with.

  2. Open a command prompt with Administrator privileges.

  3. Register the file by using the regsvr32 command: regsvr32 C:\path\to\MSCOMCTL.OCX

After the registration is successful, run the application again and it should execute without throwing this error.

Tried with: Windows 8 x64 and MP3Gain 1.2.5


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧