Scott Hanselman

Changing the HTML editor used by the Edit button on the IE Toolbar

March 02, 2003 Comment on this post [1] Posted in Web Services | Tools
Sponsored By

I was asked by my good friend Adam Cogan from down-under how to change the HTML Editor that Internet Explorer uses for the Edit Button in the Toolbar. 

It seems that the list is the same as when you right-click (see image below) on the file in Windows Explorer and select "Open With."   More details on adding Editors (or any editors for that matter) at MSDN's Internet Explorer Client Registry Layout, also included below. A picture named ieeditbutton.JPG

Adding HTML Editors

The steps for adding HTML editors to the drop-down list on the Programs tab of the Internet Options dialog box in Internet Explorer 5 and later are slightly different than the steps for adding client applications like mail and news.

  1. Register the friendly name of the HTML editor by adding a new key to HKEY_CLASSSES_ROOT\.htm\OpenWithList.
    HKEY_CLASSES_ROOT\.htm\OpenWithList\friendly name
  2. Add shell, edit, and command keys to the editor's registry entry.
    HKEY_CLASSES_ROOT\.htm\OpenWithList\friendly name\shell\edit\command
  3. Enter the fully formed path of the .exe file that launches the editor in the command key's "Value data" field. Enclose the path in quotes if it contains spaces. The following example shows the Value data entry for a typical installation of FrontPage Express. Include %1 as a parameter. This parameter refers to the file name of the active Web page.
    "c:\program files\microsoft front page express\bin\fpxpress.exe %1"

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
March 03, 2003 23:36
Here is a little bit of related goodness I found last month when poking around BHO's (browser helper object) and the such for IE.

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.