How To Fix Comdlg32.dll Errors

What is comdlg32.dll?

The comdlg32.dll module is associated with Microsoft Visual Basic and is an important system file. This module incorporates the functionality of common dialog boxes, such as the print, save or file open dialog boxes to the programs written, using the Visual Basic language. Removal of this file may prevent programs written in Visual Basic from functioning properly.

Comdlg32.dll – File information

By default, the comdlg32.dll file is located in the  %System% folder. However, you may also find the file in the following locations:

  • %ProgramFiles%\1000md\comdlg32.dll
  • %ProgramFiles%\ezt\comdlg32.dll
  • %ProgramFiles%\fmc\comdlg32.dll
  • %ProgramFiles%\gmf\comdlg32.dll
  • %ProgramFiles%\instalador de emoticons\comdlg32.dll
  • %ProgramFiles%\mv\comdlg32.dll
  • %ProgramFiles%\speedyguide 2\comdlg32.dll
  • %ProgramFiles%\vodei\comdlg32.dll
  • %Temp%\comdlg32.dll
  • %Temp%\phenom-boom by remi\comdlg32.dll
  • %Windir%\comdlg32.dll
  • %Windir%\temp01\comdlg32.dll


  • %System% is a variable that points to the system folder. By default, it is located in C:\Windows\System32 for Windows XP/Vista, C:\Winnt\System32 for Windows NT/2000 and C:\Windows\System for Windows 95/98/ME.
  • %ProgramFiles% is a variable that points to the Program File folder, which generally, is C:\Program Files.
  • %Temp% points to your temporary folder.
  • %Windir% points to the folder in which Windows is installed. By default, it is C:\Windows or C:\Winnt.

Comdlg32.dll Errors

Error 1

When you start a program in Windows 95 or 98, you may receive the following error message:

“Error starting program. The Comdlg32.dll file cannot start. Check the file to determine the problem”

Cause of the Error

The error occurs when another program replaces the Windows file, Commdlg.dll, with its own file.


To repair the comdlg32.dll error, reboot your computer and open the Command Prompt window. Use the copy command to copy the Commdlg.dll file from the Windows\Sysbckup folder to the Windows\System folder.

However, you may not be able to copy the Commdlg.dll file if the attributes of this file have changed or the file has become corrupt.

You may workaround this in the following way:

  • Another program has changed the file’s attributes: It is possible that the program which replaced the Commdlg.dll file with another version may have changed its attributes or System properties. If this is the case, undo the changes made to the file and then copy it to the Windows\System folder.

  • The file in Windows\Sysbckup is corrupt or is an older version: If the Commdlg.dll file is corrupt or is an older version, extract a new version of the file from the Windows installation CD.

To fix the error, extract the file from the file to the Windows\System folder and then rename it to Commdlg.dll.

Error 2

On a Windows XP computer, the open and save as dialog boxes may fail to display files according to the set file filter.

Cause of the Error

The common file dialog boxes use text buffer to store text for a selected file filter. The number of characters a text buffer can store is set to 260 characters. The above error occurs when the text of a file filter exceeds this limit, which causes the text buffer to discard some of the data.


Microsoft has released a hotfix for the above issue, which you can download from their website.

Note: Apply this hotfix only when you are facing the specific problem discussed above. Also, the hotfix applies only to computers that have Windows XP Service Pack 2 installed.

DLL errors, such as comdlg32.dll missing errors, may occur if your PC is infected with malware. Malware programs often corrupt or delete important system files, including DLLs and cause file not found or file missing errors. To prevent DLL errors due to malware infection, install reliable antimalware software, such as STOPzilla Antivirus and Spyware Cease and run regular malware scans of your entire system using your antimalware tools.