JSI Tip 2514. Managing the Windows 2000 Common Open dialog box.

If a program uses the Common Open dialog box, like Notepad, but not the Office 2000 applications, you can manage some of the behavior for Open and Save As.

You can cause the dialog box to behave like it did in Windows NT 4.0. To alter the behavior, use Regedt32 to navigate to:


Select the Policies key and on the Edit menu, Add Key name Comdlg32, with a null Class. Select the Comdlg32 key and manage behavior by using Add Value on the Edit menu to set the data value of the following three (3) data type REG_DWORD value names:

NoFileMru    - If missing or set to 0, the File name: box contains a dropdown list of recently used files.
               If you set the data value to 1, the File name: box is a simple text box.

NoBackButton - If missing or set to 0, the Back button appears.
               If you set the data value to 1, the Back button is removed.

NoPlacesBar  - If missing or set to 0, the shortcut bar appears. 
               If you set the data value to 1, the shortcut bar is removed.
If you DO NOT configure NoPlacesBar, or set it to 0, you can control the five (5) shortcuts in the left-hand box. To do so, select the Comdlg32 key and on the Edit Menu, Add Key name PlacesBar, with a blank class. Add Value names Place0, the first shortcut, Place1, the 2nd shortcut, Place2, Place3, and Place4. If you don't add any Place<n> value names, the shortcut box is empty. For each Place<n> value name, you can set the data type to REG_SZ or REG_EXPAND_SZ, and enter the fully qualified path to the folder you wish the Place<n> value name to open, such as C:\winnt for a data type REG_SZ, or %SystemRoot%\System32 for a data type of REG_EXPAND_SZ.

You can also use a predfined shortcut by setting the data type of any Place<n> value name to REG_DWORD, and entering one of the following, using the Hex Radix:

DESKTOP                   00        <desktop>
INTERNET                  01        Internet Explorer (icon on desktop)
PROGRAMS                  02        Start Menu\Programs
CONTROLS                  03        My Computer\Control Panel
PRINTERS                  04        My Computer\Printers
PERSONAL                  05        My Documents
FAVORITES                 06        <user name>\Favorites
STARTUP                   07        Start Menu\Programs\Startup
RECENT                    08        <user name>\Recent
SENDTO                    09        <user name>\SendTo
BITBUCKET                 0a        <desktop>\Recycle Bin
STARTMENU                 0b        <user name>\Start Menu
DESKTOPDIRECTORY          10        <user name>\Desktop
DRIVES                    11        My Computer
NETWORK                   12        Network Neighborhood
NETHOOD                   13        <user name>\nethood
FONTS                     14        windows\fonts
TEMPLATES                 15
COMMON_STARTMENU          16        All Users\Start Menu
COMMON_PROGRAMS           17        All Users\Programs
COMMON_STARTUP            18        All Users\Startup
COMMON_DESKTOPDIRECTORY   19        All Users\Desktop
APPDATA                   1a        <user name>\Application Data
PRINTHOOD                 1b        <user name>\PrintHood
LOCAL_APPDATA             1c        <user name>\Local Settings\Applicaiton ata (non roaming)
ALTSTARTUP                1d        non localized startup
COMMON_ALTSTARTUP         1e        non localized common startup
INTERNET_CACHE            20
COOKIES                   21
HISTORY                   22
COMMON_APPDATA            23        All Users\Application Data
WINDOWS                   24        GetWindowsDirectory()
SYSTEM                    25        GetSystemDirectory()
PROGRAM_FILES             26        C:\Program Files
MYPICTURES                27        C:\Program Files\My Pictures
PROFILE                   28        USERPROFILE
SYSTEMX86                 29        x86 system directory on RISC
PROGRAM_FILESX86          2a        x86 C:\Program Files on RISC
PROGRAM_FILES_COMMON      2b        C:\Program Files\Common
PROGRAM_FILES_COMMONX86   2c        x86 Program Files\Common on RISC
COMMON_TEMPLATES          2d        All Users\Templates
COMMON_DOCUMENTS          2e        All Users\Documents
COMMON_ADMINTOOLS         2f        All Users\Start Menu\Programs\Administrative Tools
ADMINTOOLS                30        <user name>\Start Menu\Programs\Administrative Tools
CONNECTIONS               31        Network and Dial-up Connections

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.