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


TeeJay

Member
Local time
12:07 AM
Posts
14
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

System One

  • 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

System One

  • 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

System One System Two

  • OS
    Win 11 Home & Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    15.0GB 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
  • 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

System One

  • 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

System One System Two

  • OS
    Win 11 Home & Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    15.0GB 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
  • 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

System One

  • OS
    PE

Latest Support Threads

Back
Top Bottom