Windows 7 x64 "Edit with Multi-Edit" does not work

Home Forums Multi-Edit Support Windows 7 x64 "Edit with Multi-Edit" does not work

This topic contains 49 replies, has 9 voices, and was last updated by  wapedpit 3 years, 2 months ago.

Viewing 15 posts - 1 through 15 (of 50 total)
  • Author
    Posts
  • #2889

    chiselca
    Participant

    I am running ME2008 11.04. I cannot get the "Edit with Multi-Edit" shell extension to work in Windows 7 64 bit. When I right-click a file this menu option is NOT displayed. It works fine in Windows 7 32 bit. Is this a known issue?

    #9336

    Clay Martin
    Keymaster

    Hi,
    Is Multi-Edit installed in the program files directory tree?

    Thanks,
    Clay

    #9337

    chiselca
    Participant

    It is installed inthe Program Files (x86) directory tree where all 32 bit apps go. That is where it installed by default, I did not change it. Does it need to be installed under the regular Program Files folder?

    #9338

    Clay Martin
    Keymaster

    Hi,
    No, where you have it is fine. I just wanted to check because another customer had a similar problem because he had installed outside that directory tree.

    Try the following to see if we can associate an extension to Multi-Edit
    Go to Tools-Customize-Extensions, select the extension you want to associate (like TXT), then press the edit button. Check the Associate to Desktop Shell checkbox. Then OK/Close back out. You may want to restart Multi-Edit after that. If that does not work try the method outlined in the following post:
    viewtopic.php?f=8&t=2003

    Thanks,
    Clay

    #9369

    chiselca
    Participant

    Hi,

    Setting individual file associations works fine. And I can add Mew32.exe to the options in the Windows "Open with…" cascading menu so the lack of thie "Edit with Multi-Edit" menu option is not the end of the world, I am just frustrated that it works in 32 bit Windows 7 but not in the 64 bit version. I guess this is happening just to me, because I am sure if the folks at Multi-Edit could duplicate this problem they would have fixed it by now.

    Thanks,
    chiselca

    #9370

    Clay Martin
    Keymaster

    HI,
    Did you check the forum entry I listed? It listed the need for a 3rd party item of software as MS changed some of the explorer tools in vista. I can’t tell if this happened again in Win 7 64, as I have a 32 bit version. I will add this to the bug list for the upcoming version of Multi-Edit.

    #9636

    vawheeler63
    Participant

    Hi Clay, and all those who are also affected by this bug.

    I recently migrated my desktop and laptop development computers from Windows XP to Windows 7 (one 64-bit and one 32-bit) and ran into a bug that SOUNDS similar, although I have tested on both systems, and

    Tools > Customize > File extensions > Create "Edit with Multi-Edit" shell extension

    definitely DOES NOT work on either my Windows7 32-bit nor my Windows7 64-bit system.

    Also

    Tools > Customize > File extensions > pick_extension > Edit > [x] Associate to Desktop Shell

    definitely DOES NOT work on either my Windows7 32-bit nor my Windows7 64-bit system.

    In my world, this is a rather important production-hindering bug, and suspect it is just a permissions issue adding keys to the registry? Because I don’t see the keys at all (thought I am not sure which ones I should be looking for). Both of the above worked perfectly under Windows XP, and I wish that the fabulous Multi-Edit team would fix this one for us Windows7 users, as I think it would well take less than a day to fix. I for one would be happier. :-)

    =-=-=-=-=

    Meanwhile, I have devised my own solution that I will share with everyone.

    If you use the below, edit the execution path to match your own. If you have your Multi-Edit installed on D: drive instead of C:, then change the drive letter. And remember that on Windows7 64-bit, if you kept the default directory, it is going to have a "(x86)" in it, like this:

    "D:\Program Files (x86)\Multi-Edit 2008\Mew32.exe"

    I put the following in a .REG file so that I can easily install it AGAIN next time I re-build a system. Or simply to make sure that the two systems on which I use Multi-Edit are identical.

    Caution: examine these keys closely, as if you don’t have VisualStudio 10.0 installed, some of these values will be different. I went to the extent to save the original values on some keys so I can put them back if ever needed. For example:

    [HKEY_CLASSES_ROOT\.c]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.c.10.0"

    Note: "@" means "default value". My initials are "vw" so this new default value is set up so that it cannot clash with any new Multi-Edit releases.

    For the .C extension key, the original default value was "VisualStudio.c.10.0". I made an additional string entry for myself that gives me a backup-copy of that string in case I ever want to put it back, like this:

    "orig_default_value_vw"="VisualStudio.c.10.0"

    IMPORTANT:

    You will also want to edit this file to include the extensions YOU want to affect, and delete the ones here that you don’t work with regularly. I also recommend going into the "regedit" program and looking up the existing default values for these and adjusting the file to suit your own needs that way.

    Note that I have one set of extensions that I want to RIGHT-CLICK and choose "Edit with Multi-Edit 2008" and another set of extensions that I want to double-click and open right into Multi-Edit. If you study the contents, you will see the differences between the two.

    To use this, copy/paste these contents into a .TXT file, customize them for your own use, and then change the file extension to .REG and double click it and let REGEDIT slurp them into your registry for you.

    =-=-=-=-=-=-= START OF FILE =-=-=-=-=-=-=
    Windows Registry Editor Version 5.00

    ;————————————————————————–
    ; These are the extensions that I am making original extension entries for.
    ; These will get a MULTI-EDIT Icon by being assicated with the
    ; "MultiEdit.vw.file" entry.
    ;
    ; ace
    ; awk
    ; c .cpp .h .hpp .inc
    ; cls tpl,
    ; gld, ld,
    ; pl pm ph al cgi,
    ; s sh
    ; php
    ;
    ; (.e has a nice icon I want to keep, so I’m instead including an
    ; HKCR\estudio_e.class\shell\edit.MultiEdit 2008\command below)
    ;
    ; (.s was a VisualStudio file, so adding its backup string below)
    ;
    ; 25-Mar-2014 13:37 vw
    ;————————————————————————–

    [HKEY_CLASSES_ROOT\.ace]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.awk]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.c]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.c.10.0"

    [HKEY_CLASSES_ROOT\.cpp]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.cpp.10.0"

    [HKEY_CLASSES_ROOT\.h]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.h.10.0"

    [HKEY_CLASSES_ROOT\.hpp]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.hpp.10.0"

    [HKEY_CLASSES_ROOT\.inc]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.inc.10.0"

    [HKEY_CLASSES_ROOT\.cls]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.tpl]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.gld]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.ld]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.pl]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.pm]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.ph]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.al]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.cgi]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.s]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"
    "orig_default_value_vw"="VisualStudio.s.10.0"

    [HKEY_CLASSES_ROOT\.sh]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.php]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.tmp]
    @="MultiEdit.vw.file"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    ;————————————————————————–
    ; These keys handle the command portion of opening files that will have
    ; Multi-Edit icons and which I consider "belong to" Multi-Edit.
    ;————————————————————————–

    [HKEY_CLASSES_ROOT\MultiEdit.vw.file]
    @="Multi-Edit File"

    [HKEY_CLASSES_ROOT\MultiEdit.vw.file\DefaultIcon]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\",0"

    [HKEY_CLASSES_ROOT\MultiEdit.vw.file\shell]

    [HKEY_CLASSES_ROOT\MultiEdit.vw.file\shell\open]
    @="Open with &Multi-Edit"

    [HKEY_CLASSES_ROOT\MultiEdit.vw.file\shell\open\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ;————————————————————————–
    ; These are the extensions that I want to keep their original icons. But
    ; they did not have "shell\open\command" keys already, so I created them.
    ; .e
    ;————————————————————————–

    [HKEY_CLASSES_ROOT\estudio_e.class\shell]

    [HKEY_CLASSES_ROOT\estudio_e.class\shell\open]
    @="Open with Multi-Edit"

    [HKEY_CLASSES_ROOT\estudio_e.class\shell\open\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ;————————————————————————–
    ; These are the extensions that I want to add "Edit with Multi-Edit 2008"
    ; to the shell menu (when file is right-clicked in Windows Explorer).
    ; These will all keep their original icons.
    ;
    ; .bat .css .htm .html .shtml .xml .ecf .js .m .prg .txt .rc .cs .vb
    ;————————————————————————–

    ; bat batfile
    [HKEY_CLASSES_ROOT\batfile\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\batfile\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; css CSSfile
    [HKEY_CLASSES_ROOT\CSSfile\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\CSSfile\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; htm, html, shtml FirefoxHTML
    [HKEY_CLASSES_ROOT\FirefoxHTML\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\FirefoxHTML\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; xml xmlfile
    [HKEY_CLASSES_ROOT\xmlfile\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\xmlfile\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; ecf estudio_ecf.project
    [HKEY_CLASSES_ROOT\estudio_ecf.project\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\estudio_ecf.project\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; js JSFile
    [HKEY_CLASSES_ROOT\JSFile\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\JSFile\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; m MATLAB.m.8.0.0
    [HKEY_CLASSES_ROOT\MATLAB.m.8.0.0\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\MATLAB.m.8.0.0\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; prg Visual.FoxPro.Program
    [HKEY_CLASSES_ROOT\Visual.FoxPro.Program\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\Visual.FoxPro.Program\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; txt txtfile
    [HKEY_CLASSES_ROOT\txtfile\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\txtfile\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; rc
    [HKEY_CLASSES_ROOT\VisualStudio.rc.10.0\shell]

    [HKEY_CLASSES_ROOT\VisualStudio.rc.10.0\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\VisualStudio.rc.10.0\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; cs VisualStudio.cs.10.0
    [HKEY_CLASSES_ROOT\VisualStudio.cs.10.0\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\VisualStudio.cs.10.0\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    ; vb VisualStudio.vb.10.0
    [HKEY_CLASSES_ROOT\VisualStudio.vb.10.0\shell\edit.MultiEdit 2008]
    @="Edit with Multi-Edit 2008"

    [HKEY_CLASSES_ROOT\VisualStudio.vb.10.0\shell\edit.MultiEdit 2008\command]
    @="\"C:\\Program Files\\Multi-Edit 2008\\Mew32.exe\" \"%1\""

    =-=-=-=-=-=-= END OF FILE =-=-=-=-=-=-=

    Kind regards,
    Victor Wheeler

    #9637

    Clay Martin
    Keymaster

    Hi Victor,
    Thanks for sharing the info!
    Clay

    #9639

    jbrandwood
    Participant

    Although Vista didn’t come with a way to edit file associations, Win7 does do so. Just go to the "Start Menu" and "Default Programs".

    If you still want to use the registry method, you should probably write "per user" file associations under the "HKEY_CURRENT_USER\Software\Classes" tree instead of the old (and nearly obsolete) "HKEY_CLASSES_ROOT" tree.

    FYI … Win7 doesn’t like you changing settings under the "HKEY_LOCAL_MACHINE" tree (and thus most "HKEY_CLASSES_ROOT" settings) unless you’re running as an administrator.

    The proper way to fix this is to ship a 64-bit version of the old 32-bit Multiedit Context Menu Shell Extension, since 64-bit versions of Windows Explorer will only load 64-bit shell extension DLLs. This is not a bug, and has been known about since the first 64-bit version of Windows in 2003.

    For some reason, a lot of people seem to think that writing shell extensions is a black art, and so Multiedit isn’t the only old program that doesn’t have a working context menu shell extension for 64-bit Windows.

    I got frustrated enough that I wrote one for the text editor that I’m using these days instead of Multiedit, and am getting ready to open source it on Sourceforge so that anyone can modify it to support their programs.

    I’d do it myself for Multiedit, but I never upgraded from ME2006 to ME2008, and wouldn’t want to do it without testing it on the latest version.

    #9645

    vawheeler63
    Participant

    That’s pretty cool! When you get it posted, let us know. Thanks for the info too. Now I see the MeShExt.dll in the ME directory and am supposing this is closely related.

    #9646

    vawheeler63
    Participant

    I did find one other interesting thing about this:

    If you launch Multi-Edit 2008 as an Administrator, and then make the changes in the Tools > Customize > File Extensions

    for both

    a. Create "Edit with Multi-Edit" shell extension, and

    b. (inside "Edit Filename Extension Setup" dialog box) [x] Associate to Desktop Shell

    that the registry entries then DO get successfully written!

    Then you have to exit Multi-Edit and open again normally for them to work (i.e. open file in Multi-Edit from within Windows Explorer).

    Anyway — hope this helps. It sure seems like this would be easy to fix…. (hint, hint, Clay) :-)

    Kind regards,
    Vic

    #9662

    jbrandwood
    Participant

    FWIW … my shell extension is ready for release. The SourceForge and GitHub projects have been registered (although not fully populated yet).

    So, if anyone is interested … here are the working Multi-Edit shell extensions (only for WinXP onwards).

    There are 32bit and 64bit extensions … just run the included install-extension.cmd or uninstall-extension.cmd to install/uninstall the appropriate one for your OS.

    Any problems or suggestions can be reported to the "EditWith" project on SourceForge.

    meshellx-2014-06-15.zip

    #9663

    Clay Martin
    Keymaster

    Thanks for posting this fix. Could you also post it to forum as some might look there for it.
    Thanks,
    Clay

    #9664

    jbrandwood
    Participant

    I could do so … but I’d prefer to wait until I get permission to use the Multi-Edit logo/icon in the shell extension.

    At the moment, the icon is loaded from the Multi-Edit executable file. This causes a delay when the context menu is opened for the first time and the icon is loaded.

    If I include the icon within the shell extension, then the context menu appears instantly, and the user experience is better.

    However, the icon is Multi-Edit’s property, and I need permission to include it within the shell extension.

    Can you contact Chad and see if he’ll post his permission here for me to use the icon with the extension, and so provide a better experience for the Multi-Edit users?

    #9665

    Clay Martin
    Keymaster

    Hi,
    Chad just completed a major move and is in the process of getting reconected to the internet. He will get back to you as soon as he can.
    Thanks,
    Clay

Viewing 15 posts - 1 through 15 (of 50 total)

You must be logged in to reply to this topic.