Today when I run an old tool on my x64 Windows 7, following error message is displayed:
Component ‘COMDLG32.OCX’ or one of its dependencies is not correctly registered: a file is missing or invalid.
Here is how to resolve comdlg32.ocx missing error.
- Download comdlg32.zip and extract comdlg32.ocx from zip file
- Move comdlg32.ocx to c:Windowssystem32 folder. For 64bit Vista/Win7, move comdlg32.ocx to c:WindowsSysWOW64
- Open a command line window and run following command:
regsvr32 c:Windowssystem32comdlg32.ocx
Note: a) On 64bit Vista/Win7, run this command instead:
regsvr32 c:WindowsSysWOW64comdlg32.ocx
b) For Vista/Win7 with UAC turn on, the above command needs to be run from elevated command prompt.
- Once comdlg32 is registered successfully, following message will prompt, DllRegisterServer in C:WINDOWSSystem32comdlg32.ocx succeeded.
- Now launch the application again you should not see file missing error.
Update: Important note if you use Windows 7: registering comdlg32.ocx must be done as administrator, or regsvr32.exe will fail with error 0x8002801c. To do this as administrator, Go to All Programs -> Accessories -> Command Prompt’, right click on ‘Command Prompt’ icon, and click on ‘Run as administrator’ to start a command prompt, then run the regsvr32 command
Thanks, it works!
It’s useful. Thanks
I am running this on windows 8 but had to use the instructions for windows for some reason. I got the same error message as before but instead of “comdlg32” it now says “Mscomctl” A file is missing or invalid. Please help
thank u so much!! 🙂
where can i find technocontrol.ocx for my 64 bit system
thanks in advance
Then also getting same error in visual studio 2008. I think we have to do some changes in visual studio COM(components).
thanks save my time
Fixed an issue for me where a VB6 program was not loading. Noticed with procmon that it wasn’t able to load COMDLG32.OCX. I had copied it to the working directory, but that apparently is not good enough. Registering this worked for me. Thanks!!!
Can not do it in Windows 10
same prob here under win10 64bit
this is the first page where I find the correct instructions to solve this issue on a 64bit OS. Seems like this option is overlooked by all the official help pages.
thank you so much, it worked as a charm 🙂
Win7 here VM here
parece que agora vai dar tomara que sim pobleminha chato demais.