Missing Comdlg32.ocx error while running an application?

Outdated or missing comdlg32.ocx runtime library is causing this error. Here is a copy of comdlg32.ocx (~60 Kb Zip). Download the file to the Desktop and extract the comdlg32.ocx to your the Windows\System32 folder.

Note: If you already have a copy of comdlg32.ocx, backup the existing file to a different folder and delete it from System32 folder.

    1. Download and save to Desktop.

    2. Unzip the file using WinZip or any other utility.

    3. Extract comdlg32.ocx to Windows\System32 folder.

    4. Type the following command from Start, Run dialog:

regsvr32  %Systemroot%\System32\comdlg32.ocx

Note: If you're using Windows Vista, you'll need to run the above command from an elevated Command Prompt. To open an elevated Command Prompt, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

You should see the following message:

DllRegisterServer in C:\WINDOWS\System32\comdlg32.ocx succeeded.

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