Register comdlg32.ocx on x64 Win7

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.

comdlg32.ocx missing error

Here is how to resolve comdlg32.ocx missing error.

  1. Download comdlg32.zip and extract comdlg32.ocx from zip file
  2. Move comdlg32.ocx to c:\Windows\system32 folder. For 64bit Vista/Win7, move comdlg32.ocx to c:\Windows\SysWOW64
  3. Open a command line window and run following command:

    regsvr32 c:\Windows\system32\comdlg32.ocx

    Note: a) On 64bit Vista/Win7, run this command instead:

    regsvr32 c:\Windows\SysWOW64\comdlg32.ocx

    b) For Vista/Win7 with UAC turn on, the above command needs to be run from elevated command prompt.

  4. Once comdlg32 is registered successfully, following message will prompt, DllRegisterServer in C:\WINDOWS\System32\comdlg32.ocx succeeded.
  5. 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

-->

126 thoughts on “Register comdlg32.ocx on x64 Win7

  1. nice thanks, I hope this will work on me……..
    I’ve been wanting to use the program that needs the .OCX file.

  2. After registering comdlg32.ocx, I tried to add the control to an Access form and got the error message “You don’t have the license required to use this ActiveX control. … contact the company that provides the licensed OLE object or ActiveX control.”

  3. nossa! valeu mesmo pela ajuda. faz tempo que quero consertar esse erro, e so aqui consegui, em outros lugares a dica nao ajudou em nada!! valeu mesmo.

  4. i did get a succesfull registration but only in syswow64 and then
    i try to run ultra hal i get the same message again i cant believe that
    this shall be so impossible i thougth that computer should make
    life eysier but have all nigth in several months try to run ultrahal
    so yesterday i got comdlg32.ocx regestreted but in syswow64
    a long time ago it was msinet.ocx but i have uninstall and now
    i dont now what to do i realy hate microsoft lol.

  5. Hi
    I try all the step and also get the successfully message
    “DllRegisterServer in C:\WINDOWS\SysWOW64\comdlg32.ocx succeeded.”

    but again i face the msg “A bad database error has occurred.Component COMDLG32.OCX or one of its dependecies not corrrectly registered a file is missing or invalid.press OK to terminate the application.”

    plz help me solution of this problem and it is very usefull software for me.
    i m waiting for reply soon

    Thanks

  6. Non funziona. Il file dll ci sta ma mi dice:
    Impossibile caricare modulo “c:”:
    Accertarsi che il file binario sia archiviato nel percorso specificato o eseguirne il debug per individuare eventuali problemi nel file binario o nei file dll dipendenti.

    Impossibile trovare il moulo specificato.
    Perché?
    regsvr32 c: \ Windows \ SysWOW64 \ comdlg32.ocx
    Ho scritto così. Ho Windows 7 e il file comdlg32.dll è presente insieme a comdlg32.ocx nella cartella SysWOW64.
    P.S.
    Ho eseguito tutti i passaggi come amministratore.

  7. 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

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>