View Source in IE 7

Discussion in 'Internet Explorer' started by ochnas, Jul 30, 2008.

  1. ochnas

    ochnas Guest

    I'm using IE 7 and Vista Home Premium.

    When I choose "View Source" I'd like to use a text editor that is NOT
    Notepad. I used to be able to do this on my work computer (running XP and IE

    In searching past topics in this group on the subject, someone mentioned
    some tool that was available for XP to do this. Is it possible to use this
    tool with Vista as well? Is there an easier way to do this?

    Under Tools-->Internet Options-->Programs I already have TextPad selected
    as HTML editor, but when I select View Source it still opens in Notepad.

    I'm confused.
    ochnas, Jul 30, 2008
    1. Advertisements

  2. ochnas

    Leonard Grey Guest

    Leonard Grey, Jul 30, 2008
    1. Advertisements

  3. 1. You might read the following Blog first:

    2. If you are comfortable working with the Registry Editor, Edit the
    following Registry Key. If the Key does not exist you will have to create

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
    Editor\Editor Name
    String Value = (Default)
    Value = Full Path to Text Editor executable file, example

    3. Unsupported...Using the TweakUI Powertoy for Windows XP with Windows

    4. Third party Software options:

    Good luck,

    Donald Anadell
    Donald Anadell, Jul 30, 2008
  4. ochnas

    ochnas Guest

    Multiple sites that come up with such a search (adding vista to the keyword
    list) --including the below link say to change the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
    Editor\Editor Name

    However "View Source Editor" does not appear under
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ when I go into
    regedit on my machine. I don't know if this is a Vista thing or some bug
    (or both) or if I need to not edit/chqange the registry (as the searched
    sites say) but add to it?
    ochnas, Jul 30, 2008
  5. ochnas

    ochnas Guest

    I created the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
    Explorer\View Source Editor\Editor Name
    and entered the path to TextPad

    Closed everything and restarted machine.

    Opened IE and opened a web page and clicked View Source -- it opens in
    ochnas, Jul 30, 2008
  6. Sorry, don't have anything else to offer. Did you try downloading and
    running the free utility to see if it would make the change for you.

    Far as I know, that Registry Key is the same for Windows XP and Vista.

    Good luck,

    Donald Anadell
    Donald Anadell, Jul 30, 2008
  7. Changing Source Code Editor in Internet Explorer
    Frank Saunders MS-MVP IE,OE/WM, Jul 30, 2008
  8. ochnas

    ochnas Guest

    Sorry to be such a pain.

    It appears this kb article does not apply to either Vista or IE7 or both.
    How about we assume I'm a complete idiot who until recently has been using
    OS9 as my main OS (partly true).

    The page's first instructions are:
    1. Quit Internet Explorer (if it is running).
    2. Double-click My Computer.
    3. On the View menu, click Options (or Folder Options).

    #1 I can do no problem.

    #2 I have no idea where "My Computer" is, it is not on my desktop, it is not
    in Windows Explorer, is it in the Control Panel somewhere?

    #3 Flying blind, I go to Windows Explorer and look under the View menu.
    There is no "Options" There is no "Folder Options" although IIRC this menu
    item *did* appear in earlier versions of Windows.

    I tried going to Control Panel-->Programs-->Default Programs-->Set
    Associations and changing the program for .htm and .html files, but this, of
    course, just causes TextPad to open when I click on a link. I don't see an
    obvious way to choose one program to open and another to edit from this
    control panel (as described in the above article).

    Clicking on "View products that this article applies to" in the linked
    article above jumps me to a list that includes neither Vista nor IE7
    ochnas, Jul 30, 2008
  9. At the point where to says to click My Computer, inside the My Computer
    window press Alt-T and choose Folder Options.
    Frank Saunders MS-MVP IE,OE/WM, Jul 31, 2008
  10. ochnas

    Don Varnau Guest

    Possible workaround...
    Do a search for notepad.exe. I have notepad in C:\Windows and
    C:\Windows\System32. Rename all instances of notepad to notepad.old.

    Install TextPad to C:\Windows instead of the Program files folder. Rename
    TextPad to notepad.exe.

    Hope this helps,
    [MS MVP- IE]
    Don Varnau, Jul 31, 2008
  11. ochnas

    ochnas Guest

    ----- Original Message -----
    From: "Frank Saunders MS-MVP IE,OE/WM" <>
    Newsgroups: microsoft.public.internetexplorer.general
    Sent: Thursday, July 31, 2008 4:11 AM
    Subject: Re: View Source in IE 7
    There still is no "My Computer" anywhere that I can see. Where do I look for

    I went to Windows Explorer and typed Alt-T and, sure enough, there was a
    Folder Options menu item under the Tools menu (instead of the View menu as
    the article said).

    Step #4 in this article instructs:
    "Click the File Types tab. In the Registered File Types
    box, click Internet Document (HTML), and then click Edit. "

    However, in the Folder Options dialog box it shows only three tabs: General,
    View, and Search

    So we got me to step #3 (skipping step #2, since I still don't know where
    "My Computer" lives), but I cannot complete step #4 with the missing tab.

    As I said before, I thought that the Control Panel-->Programs-->Default
    Programs-->Set Associations was what was replacing that old Folder
    Options-->File Types thing in Vista, but there is no Edit there either.

    ochnas, Jul 31, 2008
  12. ochnas

    ochnas Guest


    I had read this solution elsewhere, but frankly, I would be more willing to
    switch browsers than to disable Notepad completely. Notepad is still useful
    to me, it just isn't my HTML editor.
    ochnas, Jul 31, 2008
  13. My Computer is called Computer in Vista. Either way is should be in the
    right column on the Start menu and as an icon on the desktop.
    Frank Saunders MS-MVP IE,OE/WM, Jul 31, 2008
  14. ochnas

    ochnas Guest

    Okay. Thanks. That mystery is solved.

    However, once I get to Windows Explorer the Edit tab is missing from that
    menu, so I cannot complete what is necessary as described in the kb article.

    Sounds like my choices are
    (1) Abandon Notepad
    (2) Abandon IE7

    And the real answer to my question is that IE7 in Vista cannot do the thing
    that IE6 could do in XP -- allow View Source to use TextPad if Notepad

    When I uninstall IE7 will I have to manually delete those registry keys I
    manually added?
    ochnas, Jul 31, 2008
  15. ochnas wrote on Thu, 31 Jul 2008 07:59:35 -0400:
    Given that you can't uninstall IE7 on Vista, that question is moot.
    Daniel Crichton, Jul 31, 2008
  16. When using Windows XP there are three ways to affectively change your "View
    Source Editor" that is used by IE. As I described in my earlier reply to
    you, it is contingent on getting the following Key added to the Registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
    Editor\Editor Name

    This Key must then point to the Editor of your choice pointing that Key to
    the Executable of your Editor. You can accomplish getting that Key added to
    the Registry in one of the following three ways:

    1. You can Add and Edit the following Registry Key by using the Registry
    Editor, as depicted in this screenshot:
    Editing the Registry:

    2. You can use the TweakUI Powertoy for Windows XP, as depicted in this
    Using TweakUI Powertoy for Windows XP:

    3. You can use a Third Party software utility called "View Source Editor 1",
    as depicted in this screenshot:
    Using the View Source Editor 1 utility from Iconico:

    Download View Source Editor 1 utility:

    Now, I don't have a Vista Machine here to test any of this on but I can
    change my View Source Editor using any on the three methods above on Windows

    To my knowledge, that Registry Key has not changed in Windows Vista. And
    you should be able to use Method 1 above, as described by Marc Silbey in his
    Blog about the View Source Editor in Windows Vista:


    By using Method 3 above to change your View Source Editor. Download the
    utility and extract the executable from the zip file. Run the Executable as
    an Administrator and allow it to make the Registry tweak.

    If you are unable to accomplish this task then I would suggest you have a
    friend or acquaintance who is a power user with Windows Vista perform this
    task for you.

    Good luck,

    Donald Anadell
    Donald Anadell, Jul 31, 2008
  17. There is no Edit tab there's a button. And it's grayed out until you select
    something to edit.
    Frank Saunders MS-MVP IE,OE/WM, Jul 31, 2008
  18. ochnas

    ochnas Guest

    There was never an Edit tab missing, there was a File Types tab missing
    (which is where the Edit button is supposed to live).

    Trust me, I'm not as dumb as I look.
    ochnas, Jul 31, 2008
  19. ochnas

    ochnas Guest

    I did add the registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
    Editor\Editor Name

    It didn't work.

    I have downloaded, but haven't yet tried the utility, but if it just tweaks
    the registry in the same way I already have, I'm not sure it will work with

    The above blog entry describes a dialog box regarding security rights and
    permissions when launching Notepad from IE7 in Vista when clicking on View
    Source. I don't have that problem.

    Later it suggests editing the registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
    Editor\Editor Name which I already have done without effect.
    Unfortunately, among my friends/acquaintances I *am* the "power user" - I'm
    the one who gets late-night phone calls to provide computer help.

    Maybe the answer is to get new friends?

    ochnas, Jul 31, 2008
  20. Well, you've managed to totally los me.
    Frank Saunders MS-MVP IE,OE/WM, Aug 1, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.