Microsoft KB Archive/95239

{| = PRB: &quot;Cannot Find COMMDLG.DLL&quot; When Changing Font or Printing =
 * width="100%"|

ID: Q95239

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SYMPTOMS
When you try to print by choosing Print from the File menu, or try to change fonts by choosing Fonts from the Text menu, the error message &quot;Cannot find COMMDLG.DLL&quot; occurs, or the message &quot;Cannot open file&quot; occurs when you try to print, and the Font dialog box won't appear when you try to change a font.

CAUSE
FoxPro for Windows is trying to access a Windows system file called COMMDLG.DLL. If this file is corrupted or missing from the WINDOWS\SYSTEM subdirectory, one of the above error message occurs.

RESOLUTION
If you are running FoxPro with Microsoft Windows operating system version 3.1, replace COMMDLG.DLL by expanding the file from Disk 4 of the Windows 3.1 disks (5.25 inch or 3.5 inch) to the WINDOWS\SYSTEM subdirectory.

MORE INFORMATION
Both Windows and FoxPro will start up without any errors if the COMMDLG.DLL file is missing or corrupted.

Additional reference words: FoxWin 2.50 2.50a err msg errmsg KBCategory: kbprg kberrmsg kbprb KBSubcategory: FxprintFont
 * }