Results 1 to 13 of 13
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Swanzey, New Hampshire, USA
    Posts
    1,707
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding items to 'Programs' (6.0)

    On the Toolbar there is a button for "Edit". The default programs that are listed in the dropdown menu are "FrontPage" and "Notepad".<UL><LI>Can additional programs be added to that menu
    <LI>Can the default program be changed that opens when you click the button?
    <LI>Okay... so how can either/both of them be done?[/list]Thanks,

    Jeff
    Jeff
    simul iustus et peccator

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Yes to all three. My default is WordPad at present. See the attached example.

    You will not believe my instructions, but this *should* work. First off, do not try to edit the registry to add these items. It does not work in the logical fashion and it will only get you a headache.

    Go to "Folder Options" (many pathways -- I like Start button|Settings|Folder Options...). Go to the File Types tab. Find and Select HTML Document click the Edit... button. The Edit File Type box opens. Click the next Edit... button and the "Editing action for type" box opens. Click the Browse button and find the application you want to add. Click whatever OK and Close buttons you find.

    Now, I know. You think this will replace the previously chosen "HTML Document Editor", but by some quirk of Windows this only adds editors. One caveat: the number is limited to six -- which is why I have six shown. I believe the "default" one will be the last one that you added using the File Types tab. You can verify which is the default by clicking "File" on the Menu Bar. The third entry in the list will be "Edit with..."
    Attached Images Attached Images

  3. #3
    Silver Lounger
    Join Date
    Apr 2001
    Location
    New York, New York, USA
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Adding items to 'Programs' (6.0)

    1. Yes, it is possible.
    2. Yes, it can be done.
    3. Well, let's start from the second.

    2a. Open Internet Explorer
    2b. From Tools menu, choose Internet Options
    2c. Click Programs tab
    2d. From drop-down list, change "Default HTML Editor" and/or other programs.

    To add more programs to this list, you can install add-ins to Internet Explorer. The process is different depending of the program. For example, for Microsoft Word 2000:

    1a. Make sure that "HTML Source Editing" is installed (from Control Panel, click Add/Remove Programs, choose Microsoft Office 2000..., ckick Change button, then choose Add Or Remove Features, and from Office Tools list choose "HTML Source Editing").
    1b. Right-click any HTML file and from "Open With" menu choose "Microsoft Word".
    1c. Pop-up dialog appears with the question, "Microsoft Word is not your default HTML Editor..." Click "YES".
    1d. If you do not want to keep Word as your default HTML editor, follow the procedures 2a - 2d.

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Ah, that is right. You can set the default under Tools. But you can add editors my way.

  5. #5
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Swanzey, New Hampshire, USA
    Posts
    1,707
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Okay, you seem to have picked up on what I was wanting to do and I tried your method, knowing that the other advice given wouldn't add the program of my choice but only allow the programs already in the menu to be selected optionally. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    So, I went through the routine, although XP is a bit different, and changed the default program for one that I wanted. Yes, the new one appeared in the list in IE. I then returned and repeated the same process to add yet one more to the list as you said could be done. But all this did was to replace the first one I added. Well, wanting the first one more than the second, I returned a third time to revert to my first choice, but I couldn't. When I clicked on the "edit"/Edit, nothing happened. I wasn't able to access the Edit dialog. Rebooted and tried again.... same thing; no access.

    What I finally ended up having to do is to Delete the "edit" action entirely and then create a new "edit" action and use the default "msohtml" item that was there originally. Consequently..... I ain't playing with that one again! <IMG SRC=http://www.the-highway.com/Smileys/rofl2.gif>

    Jeff
    Jeff
    simul iustus et peccator

  6. #6
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Arrrggghhh! They must have changed it for XP. You can easily see by my image that this is quite easy to do -- I have six different editors listed and I have never had I problem.

    I don't have an XP box, but I do have a Win2K box. I will look at that one. Sorry.

    Here is the MSKB information for Win98:
    click me

    Now to find this for XP....

  7. #7
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Swanzey, New Hampshire, USA
    Posts
    1,707
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Thanks for the detailed instructions.

    I chose to follow the non-Registry method but that didn't succeed in adding more than one program to the list. Each time I tried to add another one, an error message popped up saying that the a program had already been chosen for that action.?? <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

    So, I guess I'm stuck with the two default programs; "Notepad" and "Frontgag" and one of my own choosing! <img src=/S/wink.gif border=0 alt=wink width=15 height=15>

    Jeff
    Jeff
    simul iustus et peccator

  8. #8
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Give me some time to finish the complete instructions. This key (OpenWithList) has some very unique properties to it. When/if I get time today, I will detail as much as I can...

    Jeff, I refuse to accept that we cannot solve this problem. If I have time in the AM I will finish my above post. I will list all the registry keys that are involved in this process. In the end, I promise we will get to the bottom of this. You will know more than you ever wanted to about HTML Editing in IE! <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    ________________________________

    There are some VERY interesting things about the way the Win98 registry handles these HTML Editor entries. I hope to post more information on that in a little bit. But for now, I want to list these for future reference:

    There are multiple keys where HTML Editor information is held. Here are some of the "special" ones:

    The "View Source" HTML Editor:
    __________________________________________________ _

    HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerView Source Editor]

    [HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerView Source EditorEditor Name]
    @="Path to your Editing Program"
    __________________________________________________ _

    This is the editor that opens if you right-click on a web page and select View Source. The default editor is Notepad -- kind of a dog. The "View Source Editor" and "Editor Name" keys are not in the registry by default and must be added.


    The "Default" HTML Editor is in four keys (Win98SE):
    __________________________________________________ _

    [HKEY_USERS.DEFAULTSoftwareMicrosoftInternet ExplorerDefault HTML Editor]
    "Description"="Editing Program's Name"

    [HKEY_USERS.DEFAULTSoftwareMicrosoftInternet ExplorerDefault HTML Editorshell]

    [HKEY_USERS.DEFAULTSoftwareMicrosoftInternet ExplorerDefault HTML Editorshelledit]
    @="&Edit"

    [HKEY_USERS.DEFAULTSoftwareMicrosoftInternet ExplorerDefault HTML Editorshelleditcommand]
    @="Path to your Editing Program %1"
    __________________________________________________ _

    [HKEY_USERS.DEFAULTSoftwareMicrosoftSharedHTMLDefau lt Editor]

    [HKEY_USERS.DEFAULTSoftwareMicrosoftSharedHTMLDefau lt Editorshell]

    [HKEY_USERS.DEFAULTSoftwareMicrosoftSharedHTMLDefau lt Editorshelledit]
    @="&Edit"

    [HKEY_USERS.DEFAULTSoftwareMicrosoftSharedHTMLDefau lt Editorshelleditcommand]
    @="Path to your Editing Program %1"
    __________________________________________________ _

    [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerDefault HTML Editor]
    "Description"="Editing Program's Name"

    [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerDefault HTML Editorshell]

    [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerDefault HTML Editorshelledit]
    @="&Edit"

    [HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerDefault HTML Editorshelleditcommand]
    @="Path to your Editing Program %1"
    __________________________________________________ _

    [HKEY_CURRENT_USERSoftwareMicrosoftSharedHTMLDefaul t Editor]

    [HKEY_CURRENT_USERSoftwareMicrosoftSharedHTMLDefaul t Editorshell]

    [HKEY_CURRENT_USERSoftwareMicrosoftSharedHTMLDefaul t Editorshelledit]
    @="&Edit"

    [HKEY_CURRENT_USERSoftwareMicrosoftSharedHTMLDefaul t Editorshelleditcommand]
    @="Path to your Editing Program %1"
    __________________________________________________ _

    This is the Editor that opens if you directly click the Edit button on the Tool bar or if you choose Edit from the File Menu. This can be set under Tools|Internet Options...|Programs tab|HTML editor.

  9. #9
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    *Pilgrim* -- One Thousand pardons!! Forgive me. [img]/forums/images/smilies/sad.gif[/img]

    I found the error in my instructions. I kept thinking I gave you the correct instructions, but I did not. I screwed up one of the steps and this screwed up the process. Here is the correct stuff:
    __________________________________________________ ___________________________


    The Definitive Guide to Adding HTML Editors to your Toolbar

    First, it is best to start out with a clean slate. Remove all the HTML Editors that may or may not have been previously installed by removing the appropriate keys from your registry.


    1) Open regedit and back up your registry first. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    2) Drill down to this key:

    HKEY_CLASSES_ROOT.htmOpenWithList

    3) Delete all the subkeys that are present there, but leave the "OpenWithList" key.
    4) Drill down to this key:

    HKEY_CLASSES_ROOTApplications

    5) In this key will be several subkeys that need to stay. They include .exe, iexplore.exe, msdxm.ocx, and wmplayer.exe. There may be other keys in there that need to stay as well -- when in doubt, leave it. We are only interested in removing the HTML Editors. These will generally have a name that you recognize as an editor -- something like Wordpad.exe or FPXpress.exe. Ideally, the names of these keys should have been echoed in the HKCR.htm key listed above.
    6) Delete all the keys that are for HTML Editors -- they should have a structure that looks just like this:

    HKEY_CLASSES_ROOT
    ..Applications
    ....fpxpress.exe
    ......shell
    ......"FriendlyCache"="Microsoft FrontPage Editor"
    ......"FriendlyCacheCTime"=hex:00,00,00,00,00,00,0 0,00
    .........edit
    ...........command
    ...........@="C:Progra~1FrontP~1BINfpxpress.exe %1"
    7) Close regedit.


    After doing that, there is no drop-down list at all when you access the "Edit" button on the IE6 Toolbar. Instead, IE6 automatically defaults to WordPad as its HTML Editor. See Image "A" below. Contrast that to the image of my Toolbar earlier in this thread.

    Now there are two ways you can enter HTML Editors:

    A. The MS Knowledge Base Method -- utilizing the File Types tab.
    B. The MS Developers Network Method -- editing the Registry.

    Let's do both methods in that order.


    1) With IE closed, open the "Folder Options..." dialog box and go to the "File Types" tab.
    2) Under "Registered file types:" find and select "HTML Document".
    3) Click the "Edit..." button and the "Edit File Type" box opens.
    4) Click the "New..." button (NOT the "Edit..." button!) *This was my prior mistake.*
    5) Under "Action", type "Edit" (no quotes).
    6) Browse for the program in question -- or type the path if you know it.
    7) Click OK and Close as needed.


    I did this for NoteTab and the results are in Image "B".
    ______

    The Registry editing procedure is slightly more complicated and it is only recommended for users that are comfortable this using regedit.

    1) Open regedit and backup once more.
    2) Drill down to this key:

    HKEY_CLASSSES_ROOT.htmOpenWithList

    3) Create a New Key under this key and give it a "friendly" name -- like FrontPage Express.
    4) Under this new key, add "shell", "edit", and "command" keys as hierarchal subkeys. For example:

    HKEY_CLASSSES_ROOT.htmOpenWithList
    ..FrontPage Express
    ....shell
    ......edit
    ........command

    5) In the command key's (Default) value enter the correct path to the desired program's executable file. I believe the most problem-free method is to use the DOS folder names (e.g., eight characters max and "xxxxxx~1" format). Add a (space) and %1 at the end. For example:

    C:Progra~1FrontP~1BINfpxpress.exe %1

    If you use the Windows folder names and there is a space in the name, you must enclose the path in quotes.
    6) Close regedit.


    Alternatively, you could do this whole process as a .reg file. The .reg file that would create an HTML Editor for FrontPage Express would look like this:

    REGEDIT4

    [HKEY_CLASSES_ROOT.htmOpenWithListFrontPage Express]

    [HKEY_CLASSES_ROOT.htmOpenWithListFrontPage Expressshell]

    [HKEY_CLASSES_ROOT.htmOpenWithListFrontPage Expressshelledit]

    [HKEY_CLASSES_ROOT.htmOpenWithListFrontPage Expressshelleditcommand]
    @="C:Progra~1FrontP~1BINfpxpress.exe %1"

    _______________

    Now this is where it gets a little weird. If you open IE, the new HTML editor will *not* appear immediately. In my case, I rebooted and THEN the new Editor appeared in the drop-down list. I added FrontPage Express using the registry editing method -- as you can see in image "C" below.

    You will note that my "friendly" name did not include the word "Microsoft", but MS chose to add that in so that it appears in the drop-down list (Image C). Let's get rid of it, if we can.

    If we go back to the key we just edited (HKEY_CLASSES_ROOT.htmOpenWithList), we will be surprised to find that what we entered is no longer there. All that is left is a key named after the executable file we entered in the command (Default) value. In my case, it was "fpxpress.exe". Where did the data go? It got modified and moved here:

    HKEY_CLASSES_ROOTApplications

    In this key, we will find a new subkey with the exact same name as the key just mentioned above -- the executable file's name. In my case, it was "fpxpress.exe". The shelleditcommand information has been moved here. In fact, it looks exactly like what I posted above:

    HKEY_CLASSES_ROOT
    ..Applications
    ....fpxpress.exe
    ......shell
    ......"FriendlyCache"="Microsoft FrontPage Editor"
    ......"FriendlyCacheCTime"=hex:00,00,00,00,00,00,0 0,00
    .........edit
    ...........command
    ...........@="C:Progra~1FrontP~1BINfpxpress.exe %1"

    Well, to get rid of the "Microsoft", all I had to do was edit the FriendlyCache value. Image "D" below shows Microsoft removed.
    ______________________________________

    Either of these methods should end up with similar results -- as I have demonstrated. However, the pathway that each takes is dramatically different. Such is the joy of Windows. I highly doubt you will find more complete information on this topic! Good luck.
    Attached Images Attached Images

  10. #10
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    <hr>The "View Source" HTML Editor:
    __________________________________________________ _

    [HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerView Source Editor]

    [HKEY_LOCAL_MACHINESoftwareMicrosoftInternet ExplorerView Source EditorEditor Name]
    @="Path to your Editing Program"
    __________________________________________________ _

    This is the editor that opens if you right-click on a web page and select View Source. The default editor is Notepad -- kind of a dog. The "View Source Editor" and "Editor Name" keys are not in the registry by default and must be added.
    <hr>
    I would like to set up my NoteTab Light as the default source viewer, after already setting it up on my toolbar. Do I set up the key "View Source Editor" and then a DWORD "Editor Name" and then set the path to the .exe? Since I am using W2K I can't use NoteTab's dummy replacement program.

    BTW, while looking into the registry to look at some of these fixes I briefly considered modifying the HKCRApplicationsnotepad.exe command strings to point to NoteTab instead of Notepad to trick the system into using my preferred program instead. Any comments on this idea?

  11. #11
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Just follow the image to change the View Source editor. Obviously, modify the path to point to your NoteTab folder.

    For the second part, the simplest way to set the default HTML editor is via Tools | Internet Options | Programs | HTML Editor.
    Attached Images Attached Images

  12. #12
    2 Star Lounger
    Join Date
    Apr 2001
    Location
    Coppell, Texas, USA
    Posts
    168
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    Thanks for all the research, tips and instructions. I wanted to change the View Source Editor, but didn't because of something that I read in another newsgroup: the editor assigned to View Source must be capable of accepting long files names including spaces. The cached source that's being viewed may have a file name like Cocuments and SettingssomeuserLocal SettingsTemporary Internet FilesContent.IE5D8908F098KEwww.worp[1], and IE was passing this name in a format that editors other than Notepad couldn't use to open the files. Or at least that's what someone said was the case in at some point...

    So either IE changed, or up-to-date editors are handling this better, because it appears people are doing this with editors like NoteTab and PFE. Personally, I think this is invaluable because I can now View Source in an editor with line numbers! Makes debugging certain script errors much easier.

    Thanks again to all.

  13. #13
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Adding items to 'Programs' (6.0)

    NoteTab Light has been performing extremely well for me, both as a 'Program'-set editor and as a right-click 'View Source' program. At home on my Win9x/ME machines it's 'Replace MS Notepad' option allowed me to not have to use the procedures discussed in this thread to have it work seamlessly with IE; at work on a Win2K machine, once I had the registry keys set properly NoteTab works without any problems such as you mention. (I'm using NoteTab Light version 4.90)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •