comdlg32

Important Notice for Vista and Windows 7

With Vista and Windows 7 there is a missing file that causes the following error window to pop up: Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

Windows 7 Error

The error indicates the comdlg32. ocx file is either missing or not registered correctly. This is easy to resolve.

Please see the microsoft answers link or simply follow the DIRECTIONS below:

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/component-comdlg32ocx-or-one-of-its-dependencies/0b1d6e17-e39c-4b00-920d-80e38df598e0

or if you have windows xp

http://www.ascentive.com/support/new/support_dll.phtml?dllname=COMDLG32.OCX

DIRECTIONS

  1. Download comdlg32.ocx and save to Desktop.
  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 WIN7: when registering comdlg32.ocx, it must be done as administrator, or regsvr32.exe will failed 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

Comdlg32.ocx file information

CompanyName Microsoft Corporation
FileDescription CMDialog ActiveX Control
DLL FileVersion 6.00.8877
InternalName CMDIALOG
LegalCopyright Copyright © 1987-2000 Microsoft Corp.
OriginalFilename COMDLG32.OCX
ProductName CMDIALOG
ProductVersion 6.00.8877 Comments: May 26, 2000