News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Lost association between ASM files and QEditor

Started by frktons, October 30, 2010, 04:40:54 PM

Previous topic - Next topic

frktons

Hi all.

I recentely moved the masm32 folder to another disk, in the root of a second disk.
After that the authomatic association between ASM files and QEditor has been lost.
:red

How do I re-enable it in order to have the mouse click on a ASM file directly open
it in QEditor?

Thanks

Frank
Mind is like a parachute. You know what to do in order to use it :-)

Neil

Right click on file, choose open with, then choose default program & click on Masm32 Code Editor.

frktons

#2
Quote from: Neil on October 30, 2010, 04:50:56 PM
Right click on file, choose open with, then choose default program & click on Masm32 Code Editor.

Already tried that, but doesn't work on my win7/64 bit. It allows only to choose prog
from c:\program files\...

I had to manually change the value in the registry with regedit, from "c:\masm32\qeditor.exe"
to "k:\masm32\qeditor.exe" and now it works again.

I was looking for an option in QEditor itself to re-establish the link, but I didn't find it, and I went
the old way.

Thanks anyway.

Frank
Mind is like a parachute. You know what to do in order to use it :-)

dedndave

well - you've got it working
but - try holding the shift key when you right-click on a file
for many file types, it should offer "Open With" on the context menu

frktons

#4
Quote from: dedndave on October 30, 2010, 05:09:58 PM
well - you've got it working
but - try holding the shift key when you right-click on a file
for many file types, it should offer "Open With" on the context menu

That's what Neil suggested, but when the registry key doesn't match the path
of the program it is not displayed anymore among the options of "Open with"
and even if you try to point to it choosing the new path, it doesn't work anyway,
the new path for the prog doesn't get displayed among the options afterwhile.

So far the only working solution seems to restore the link between a prog
and its associated files in the registry.
Some programs have this option among the others, not QEdit apparentely.
When they have, they add or change a registry value.

Frank
Mind is like a parachute. You know what to do in order to use it :-)

Antariy

Quote from: frktons on October 30, 2010, 11:51:40 PM
Quote from: dedndave on October 30, 2010, 05:09:58 PM
well - you've got it working
but - try holding the shift key when you right-click on a file
for many file types, it should offer "Open With" on the context menu

That's what Neil suggested, but when the register key doesn't match the path
of the program it is not displayed anymore among the options of "Open with"
and even if you try to point to it choosing the new path, it doesn't work anyway,
the new path for the prog doesn't get displayed among the options afterwhile.

So far the only working solution seems to restore the link between a prog
and its associated files in the register.
Some programs have this option among the others, not QEdit apparentely.
When they have, they add or change a register value.

Frank


Yes, Frank, this is very "funny" feature of Windows - it is remember the name of the program, and if you choose the program with the same name - Windows (i.e. - explorer) will substitute the *old* path. Very nice side for users - of course OS know better than user - what user wants to do.  :green2



Alex

Antariy

P.S. If you rename the QEditor, and choose the renamed file in selection dialog - this should work.



Alex

Magnum

Quote from: frktons on October 30, 2010, 11:51:40 PM
Quote from: dedndave on October 30, 2010, 05:09:58 PM
well - you've got it working
but - try holding the shift key when you right-click on a file
for many file types, it should offer "Open With" on the context menu

That's what Neil suggested, but when the register key doesn't match the path
of the program it is not displayed anymore among the options of "Open with"
and even if you try to point to it choosing the new path, it doesn't work anyway,
the new path for the prog doesn't get displayed among the options afterwhile.

So far the only working solution seems to restore the link between a prog
and its associated files in the register.
Some programs have this option among the others, not QEdit apparentely.
When they have, they add or change a register value.

Frank

Qeditor does have some issues.

I can't even open .asm files with Qeditor as a limited user under XP Home.



Have a great day,
                         Andy

frktons

Quote from: Antariy on October 31, 2010, 12:10:46 AM
P.S. If you rename the QEditor, and choose the renamed file in selection dialog - this should work.

Alex

Yes Alex, with this work-around it works.  :U
Windows has its own idiosyncrasies and ways to get it working
as desired.

Frank
Mind is like a parachute. You know what to do in order to use it :-)

hutch--

Frank,

have a look at the stub I posted in the masm32 sub forum, it solves the problem with how Win7 handles multiple copies of the same program
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

frktons

Quote from: hutch-- on November 02, 2010, 02:52:58 AM
Frank,

have a look at the stub I posted in the masm32 sub forum, it solves the problem with how Win7 handles multiple copies of the same program

Thanks Steve  :U
Mind is like a parachute. You know what to do in order to use it :-)