Search code examples
vb6windows-10exemscomct2.ocx

MSCOMCTL.ocx missing Windows 10


I have some vb6 applications that i'm trying to move from Windows 7 to Windows 10. I have the .exe file, but when I tried to open it - it tells me that:

C:\App_1\MSCOMCTL.OCX could not be loaded - Continue Loading Project?

I searched for this file in C:\Windows\SysWow64 and found that the file is actually there as Type: ActiveX Control.

Any reason why I'm still getting the error?


Solution

  • The ocx control should be in your Syswow64 (if 64 bit pc) folder and not in the app folder, and it needs to be registered manually (common vb6 problem in Win7, 8 ,10).

    It seems you can see the file, but it might not be registered.

    Run cmd in administrator mode, type regsvr32 C:\Windows\SysWOW64\MSCOMCTL.OCX.

    This should solve the problem