Deep transformation of Win2000 "Position Bar" (4)

Source: Internet
Author: User
Admittedly, Modifyplaces.vbs does not have too many error control mechanisms, and its user interface is very rough. If you want a professional program, it's best to convert it into VB code. Figure Three shows the Open dialog box with "C:\test\" and "My Computer" specified as two positions on the position bar.

Here is the Setdefaultplaces.vbs script, which deletes the Placesbar subkey and restores the default location bar settings. As mentioned earlier, it does not exist unless we create a Placesbar subkey. If WIN2K/XP cannot find the Placesbar subkey, the location bar defaults to the standard configuration.

' Constant Const APP_TITLE = ' Restore the location bar of the Open dialog box ' const Reg_placesbar = ' Hkcu\software\microsoft\windows\
Currentversion\policies\comdlg32\placesbar\ "' Do you want to continue? rc = MsgBox ("Click" OK "restore standard position bar configuration", 1, app_title) if RC <> 1 Then wscript.quitend if ' Delete all registry keys under POLICIES\COMDLG32, Enable standard location bar configuration Set shell = CreateObject ("Wscript.Shell") on Error Resume nextshell.regdelete (reg_placesbar) ' Complete ... MsgBox "The default location bar configuration has been restored", APP_TITL

Position Bar of Office

Previous registry modifications affect only those programs that use the WIN2K/XP Common dialog code base, and Office uses a dialog box that comes from a custom code base. Therefore, modifying the location bar of the Win2k/xp Open dialog box does not have any effect on the location bar of Word and Excel.

However, Office 2000 also provides a way to customize its location bar, and the associated registry key is Hkey_current_user\software\microsoft\office\9.0\common\open Find\Places For Office XP, the registry key path is HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\Open find\places\userdefinedplaces.

However, if you just want to customize the location bar, you can not pass the registry key. Microsoft provides a handy tool for modifying the location bar, which you can install to the Tools menu of Office 2000 software. This tool can be downloaded from the http://support.microsoft.com/support/kb/articles/q260/1/90.asp, download the full VB source code with the plugin and instructions on how to use the tool.

After downloading the Places.exe file, double-click to unpack the compressed package. Then, click on the Win2k/xp "Start/Run" menu, enter "regsvr32 < path >\places.dll" and confirm the registration Places.dll. If you open the program for Office 2000, turn it off before you turn it on. A "Set Places" menu item appears on the Tools menu of the Office software, which you can use to set the positions on the position bar. Unlike the Win2K Standard dialog box, the location bar for Office 2000 software supports small icons. When you use small icons, the number of folders on the location bar no longer has a maximum of 5 restrictions. No matter which Office 2000 software modifies the location bar, the results are valid for all Office 2000 software.

The location bar is a great tool, but its advantages can be fully developed only when it is listed in a location that is exactly the folder you use. With the knowledge of this article, you should also be able to customize the WIN2K/XP and office location bar at your own whim.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.