Viewing HTML Source Code

The NetCaptor View Source button displays the source code of the document displayed on the active browser tab. In addition to using Windows Notepad, the button also displays a list of installed HTML Editors that can be used to view the document source. The editors correspond to those displayed on the Internet Options dialog, Programs tab, HTML Editor combo box.

This description of how to add to this list is taken from an article on the Microsoft SiteBuilder Network. The article was located at http://www.microsoft.com/workshop/browser/configuration/clientreg/clientregistrylayout.asp at the time of this writing.

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 is 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