Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered


TeeJay

Active member
Local time
10:30 PM
Posts
21
Location
Toronto, Ontario Canada
OS
Windows 11
Hello all
I tried to install a program called MP3 Gain but the following message appeared after installation and I am not quite sure how to correct it.

Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered: a file is missing or invalid. Big red "X" beside it.

Any thoughts how I can correct this problem?

Thanks and sorry if this is in the wrong forum.
 

Attachments

  • MP3.jpg
    MP3.jpg
    8.4 KB · Views: 3

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
OCX files are active x binaries. If you search and it is present you may just need to re-register it using regsvr.exe or regsvr32.exe
 

My Computer My Computer

At a glance

Linux Mint
OS
Linux Mint
Computer type
Laptop
Manufacturer/Model
System76 Lemur Pro
Uninstall and delete the downloaded installer you have. Download it from SourceForge. It runs in Windows 11.


I'll have a play with it tomorrow (y)

eprwmAJ4QR.png
 

My Computers My Computers

  • At a glance

    Win 11 ProAMD Ryzen™ 7 7730U24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)512MB ATI AMD Radeon Graphics (ASUStek Comput...
    OS
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)
    Graphics Card(s)
    512MB ATI AMD Radeon Graphics (ASUStek Computer Inc)
    Monitor(s) Displays
    Generic PnP Monitor (1920x1200@60Hz) - P1 PLUS (1920x1080@59Hz)
    Screen Resolution
    1920 X 1200
    Hard Drives
    953GB Western Digital WD
    PSU
    45 Watts
    Mouse
    Lenovo Bluetooth.
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • At a glance

    Windows 11AMD Ryzen 7 5800H / 3.2 GHz32 GB DDR4 SDRAM 3200 MHzNVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER NITRO
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    32 GB DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    Samsung 970 Evo Plus 2TB NVMe M.2
    PSU
    180 Watt, 19.5 V
    Mouse
    Lenovo Bluetooth
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
Ah I'm too slow, i just made this for him :zany:

Fix.cmd
Batch:
@ECHO OFF
TITLE Fixing missing or unregistered MSCOMCTL.OCX for Win 11 (32bit OCX)
SETLOCAL ENABLEDELAYEDEXPANSION
::Script requests Admin if needed
>nul 2>&1 REG add HKCU\Software\classes\.Admin\shell\runas\command /f /ve /d "cmd /x /d /r SET \"f0=%%2\"& call \"%%2\" %%3"& SET _= %*
>nul 2>&1 FLTMC|| IF "%f0%" neq "%~f0" (CD.>"%ProgramData%\runas.Admin" & START "%~n0" /high "%ProgramData%\runas.Admin" "%~f0" "%_:"=""%" & EXIT /b)
>nul 2>&1 REG delete HKCU\Software\classes\.Admin\ /f
>nul 2>&1 DEL "%ProgramData%\runas.Admin" /f /q
::
SET "TempDL=%ProgramData%\Fix"
::Check if file already exists. If not download VB6 from MS and extract from there.
IF NOT EXIST "%WinDir%\SysWOW64\mscomctl.ocx" (
PING -n 1 "google.com" | findstr /r /c:"[0-9] *ms">nul
IF NOT %errorlevel% == 0 ECHO. & ECHO Internet connection not detected! & ECHO. & PAUSE & EXIT
IF NOT EXIST "%TempDL%" MD "%TempDL%">nul
IF EXIST "%TempDL%\Junkbin" RD "%TempDL%\Junkbin" /S /Q>nul
MD "%TempDL%\Junkbin">nul
ECHO. & ECHO Getting files...
PUSHD "%TempDL%" & PUSHD "%TempDL%\Junkbin"
POWERSHELL -nop -c "Invoke-WebRequest -Uri https://www.7-zip.org/a/7zr.exe -o '7zr.exe'"; "Invoke-WebRequest -Uri https://www.7-zip.org/a/7z2300-extra.7z -o '7zExtra.7z'"; "Invoke-WebRequest -Uri https://download.microsoft.com/download/3/a/5/3a5925ac-e779-4b1c-bb01-af67dc2f96fc/VisualBasic6-KB896559-v1-ENU.exe -o 'VisualBasic6-KB896559-v1-ENU.exe'";
7zr.exe e -y 7zExtra.7z>nul & 7za.exe e -y VisualBasic6-KB896559-v1-ENU.exe mscomctl.ocx -r -o..>nul & POPD
MOVE /Y "%TempDL%\mscomctl.ocx" "%WinDir%\SysWOW64">nul & POPD
RD "%TempDL%" /S /Q>nul
)
::
::Register File
REGSVR32 "%WinDir%\SysWOW64\mscomctl.ocx"
::

Maybe someone else will have the same issue for another program ;-)
 
Last edited:

My Computer My Computer

At a glance

PE
OS
PE
Ah I'm too slow, i just made this for him :zany:

Fix.cmd
Batch:
@ECHO OFF
TITLE Fixing missing or unregistered MSCOMCTL.OCX for Win 11 (32bit OCX)
SETLOCAL ENABLEDELAYEDEXPANSION
::Script requests Admin if needed
>nul 2>&1 REG add HKCU\Software\classes\.Admin\shell\runas\command /f /ve /d "cmd /x /d /r SET \"f0=%%2\"& call \"%%2\" %%3"& SET _= %*
>nul 2>&1 FLTMC|| IF "%f0%" neq "%~f0" (CD.>"%ProgramData%\runas.Admin" & START "%~n0" /high "%ProgramData%\runas.Admin" "%~f0" "%_:"=""%" & EXIT /b)
>nul 2>&1 REG delete HKCU\Software\classes\.Admin\ /f
>nul 2>&1 DEL "%ProgramData%\runas.Admin" /f /q
::
SET "TempDL=%ProgramData%\Fix"
::Check if file already exists. If not download VB6 from MS and extract from there.
IF NOT EXIST "%WinDir%\SysWOW64\mscomctl.ocx" (
PING -n 1 "google.com" | findstr /r /c:"[0-9] *ms">nul
IF NOT %errorlevel% == 0 ECHO. & ECHO Internet connection not detected! & ECHO. & PAUSE & EXIT
IF NOT EXIST "%TempDL%" MD "%TempDL%">nul
IF EXIST "%TempDL%\Junkbin" RD "%TempDL%\Junkbin" /S /Q>nul
MD "%TempDL%\Junkbin">nul
ECHO. & ECHO Getting files...
PUSHD "%TempDL%" & PUSHD "%TempDL%\Junkbin"
POWERSHELL -nop -c "Invoke-WebRequest -Uri https://www.7-zip.org/a/7zr.exe -o '7zr.exe'"; "Invoke-WebRequest -Uri https://www.7-zip.org/a/7z2300-extra.7z -o '7zExtra.7z'"; "Invoke-WebRequest -Uri https://download.microsoft.com/download/3/a/5/3a5925ac-e779-4b1c-bb01-af67dc2f96fc/VisualBasic6-KB896559-v1-ENU.exe -o 'VisualBasic6-KB896559-v1-ENU.exe'";
7zr.exe e -y 7zExtra.7z>nul & 7za.exe e -y VisualBasic6-KB896559-v1-ENU.exe mscomctl.ocx -r -o..>nul & POPD
MOVE /Y "%TempDL%\mscomctl.ocx" "%WinDir%\SysWOW64">nul & POPD
RD "%TempDL%" /S /Q>nul
)
::
::Register File
REGSVR32 "%WinDir%\SysWOW64\mscomctl.ocx"
::

Maybe someone else will have the same issue for another program ;-)
Before installing Mp3 gain Win 11 had no MSCOMCTL.OCX in SysWOW64. Seems that the file was updated May 2000 to include it. Just for info (y)

2t7kmJbtmv.png
It's great that such an old program can still work in Windows 11 and that it comes with its own uninstaller.

 

My Computers My Computers

  • At a glance

    Win 11 ProAMD Ryzen™ 7 7730U24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)512MB ATI AMD Radeon Graphics (ASUStek Comput...
    OS
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)
    Graphics Card(s)
    512MB ATI AMD Radeon Graphics (ASUStek Computer Inc)
    Monitor(s) Displays
    Generic PnP Monitor (1920x1200@60Hz) - P1 PLUS (1920x1080@59Hz)
    Screen Resolution
    1920 X 1200
    Hard Drives
    953GB Western Digital WD
    PSU
    45 Watts
    Mouse
    Lenovo Bluetooth.
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • At a glance

    Windows 11AMD Ryzen 7 5800H / 3.2 GHz32 GB DDR4 SDRAM 3200 MHzNVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER NITRO
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    32 GB DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    Samsung 970 Evo Plus 2TB NVMe M.2
    PSU
    180 Watt, 19.5 V
    Mouse
    Lenovo Bluetooth
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
You can always use NTVDMx64 to get old programs running on 11 as well. ;-)
 

My Computer My Computer

At a glance

PE
OS
PE
I had this problem with MP3Gain today and reinstalling from the full installer at SourceForge fixed it. :)

Having said that, I think MP3Gain isn't all it's cracked up to be: some of my music tracks don't change their volume level after using it on them. I was hoping for all music to be the same volume level (which is what MP3Gain claims to do) but in reality it doesn't always work.
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro

My Computer My Computer

At a glance

Microsoft Windows 11 HomeIntel Core i5-13490F2 x 16 Patriot Memory (PDP Systems) PSD516G56...GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (G...
OS
Microsoft Windows 11 Home
Computer type
PC/Desktop
Manufacturer/Model
MSI MS-7D98
CPU
Intel Core i5-13490F
Motherboard
MSI B760 GAMING PLUS WIFI
Memory
2 x 16 Patriot Memory (PDP Systems) PSD516G560081 6400MT (32-37-37-74); 1.35V)
Graphics Card(s)
GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
Sound Card
Bluetooth Аудио
Monitor(s) Displays
INNOCN 15K1F
Screen Resolution
1920 x 1080
Hard Drives
WD_BLACK SN770 250GB
KINGSTON SNV2S1000G (ELFK0S.6)
PSU
Thermaltake Toughpower GF3 1000W
Case
CG560 - DeepCool
Cooling
ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
Keyboard
Corsair K70 RGB TKL
Mouse
Corsair KATAR PRO XT
Internet Speed
100 Mbps
Browser
Firefox
Antivirus
Microsoft Defender Antivirus
Other Info
https://www.userbenchmark.com/UserRun/66553205
Back
Top Bottom