View Source Fix - Mine Anyway

by "Carol Parent" <cbwd(at)means.net>

 Date:  Mon, 23 Jun 2003 14:18:51 -0500
 To:  <hwg-techniques(at)mail.hwg.org>
 References:  microsoft 7MZCL0J microsoft2
  todo: View Thread, Original
Hello,

Two things to try;

1) if you have notepad.exe as a shortcut on your desktop - try renaming it
and see if that works.
----------------------------------------------------------------------------
---------------------------
2) if not, you may need to go into your registry and make sure 'view source'
is being told to open notepad.exe:

I found this on 'google groups' and used this method to fix my view source,
I am not claiming to have come up with the solution myself but am not
putting the author's name because of 'privacy.'
----------------------------------------------------------------------------
--------------
Make *sure* Notepad.exe exists and is NOT a 3rd party replacement.
In some cases a Registry entry may prevent "View | Source" from working.

Start - Run (type) "regedit" (no quotes)
Click Edit (up top) select: Find (type) "NoViewSource" (no quotes),
Click "Find Now" *if* located, highlight the entry "NoViewSource" in the
right pane
Right-click and select: Modify, change the value from "1" to "0" (no quotes)
Press F3 to continue searching until completed, repeat as needed.

--
Open Regedit to the following location:

HKEY_CLASSES_ROOT\.htm
"PerceivedType"="text"
@="htmlfile"
"Content Type"="text/html"

HKEY_CLASSES_ROOT\.htm\OpenWithList

HKEY_CLASSES_ROOT\.htm\OpenWithList\notepad.exe

If the above key doesn't exist, create it.

The below Registry key does NOT normally exist,
Tweak UI (XP) or some other app may have added the key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
Editor\Editor Name]
@="C:\WINDOWS\notepad.exe"

If exists, make sure the correct program and "Path" is indicated.

Note: always Export before editing.

8) Type in the entire path of the desired program.
Close Regedit and reboot


Carol Parent

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA