OCX or one of its dependencies not correctly registered: a file is missing or invalid.
If you're using Windows 64-bit, type the following command and press ENTER:Ĭ:\Windows\SysWOW64\regsvr32 C:\Windows\SysWOW64\comdlg32. Check out this article and learn how to set the MSCOMCTL.OCX or. Windows 10 doesnt ship the MSCOMCTL.ocx anymore, the MSCOMCTL. However, the application cant start because its missing mscomctl.ocx' Cause.
If you're using Windows 32-bit, type the following command and press ENTER: You want to run your old application on Windows 10. Right-click Start, click Command Prompt (Admin) Instead, open the exe file using 7-Zip or any other archiving utility and extract the file Comctl32.OCX file to the following folder:įor Windows 64-bit systems, extract the OCX file to: C:\Windows\SysWOW64įor Windows 32-bit systems, extract the OCX file to: C:\Windows\System32 Component ‘COMDLG32.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid.
However, you may try the Visual Basic 6.0 Common Controls (includes comctl32.ocx) from the following Microsoft Download Center link: ĭon't run the setup. Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008, Windows 7, Windows 8 and Windows 8.1, Windows Server 2012, and Windows 10 system32mscomctl. The golf program which was presumably developed using VB 6.0 needs to supply the required runtime libraries. Component MSCOMCTL.OCX or one of its dependencies not correctly registered: a file is missing or invalid. Run cmd in administrator mode, type regsvr32 C:\Windows\SysWOW64\MSCOMCTL.OCX. It seems you can see the file, but it might not be registered.
I get: Run-time error:'339': Component MSCOMCTL.OCX or one of its dependencies not correctly registered: a file is missing or invalid. 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). Comctl32.ocx is a Visual Basic 6.0 runtime file that's not included in Windows 10. I am trying to run an exe file on Windows 10 which was compiled using VB6 in 2002/2003.