Main Menu

File Associations

Started by swbrains, June 11, 2011, 12:49:24 AM

Previous topic - Next topic

swbrains

Hi,

I checked the File Associations for .PL files (among others) and clicked the Update button, but when I double click a .PL file in Windows Explorer, it still uses my old editor.

PS: It's also not using HE as the source viewer for IE even though I checked that box in the File Associations dialog.  It still launches my old editor.

What am I doing wrong?  :(

Thanks!

alex

Try the same, but starting HippoEDIT as administrator (context menu Run As Administrator).
Looks like permission problems.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

swbrains

Hi Alex,

I tried that, but the same result.  Still hasn't changed the associations or the view source app in IE.  :(

Thanks,
-- Vinnie

alex

Hi Vinnie,

I have tried on my Win7 x64, association works right as for already associated extension as for free. Have tried with HE x32 and X64, also both working.
If this is not a permission problem, than should be something special with your system. Maybe some software forbid registry access or restore changes.
You have not mentioned your OS and kind of HE you are running.

Let us see if somebody else has same problem...

Till than, you can use workaround and associate HE to open files you want from Windows Explorer with Open With... and Use as default action...

BR, Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

swbrains

I'm on Win 7 x64 running x64 version of HE.   I will use the workaround and manually set the associations for each time via "open with".

PS:  I don't run any type of third-part anti-virus or other registry protection programs in the background, so I don't think there's another app blocking these changes.

Thanks!

swbrains

By the way, I couldn't get IE9 to switch source code viewers either, even though I selected it in the IE Options window as the View Source app (HE was in the list).

I ended up manually changing the following registry entry on my system:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\View Source Editor\Editor Name
to point to HE instead of my old editor and IE now loads HE for source viewing.

I just wanted to let you know about this in case you need to update your code to modify this registry entry.

alex

Hi Vinnie,

I am going to a vacation now, for 1.5 week but will check the problem after. As far as I remember HE changes same node. But I need to verify.
I have run my tests for associations on Win 7 x64 + HE x64, so our condition are mostly same here. But if by me works and by you not, should be some difference ;)
Maybe would be good to get that node, that was not able to be changed by HE (for file extension HKEY_CLASSES_ROOT\.act fex), than I will try to recreate the scenario.
But at least for changing this node HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\View Source Editor\Editor Name you need to have an admin rights (Run as Administrator). But normally HE should inform you on bottom of File association screen about this.

BR, Alex
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

swbrains

I should have full admin rights as I log into windows as admin.  I can access all parts of windows (registry, etc.) and make any changes so I don't think it's a permission problem. 

Anyway, enjoy your vacation!  :)

alex

QuoteI should have full admin rights as I log into windows as admin.  I can access all parts of windows (registry, etc.) and make any changes so I don't think it's a permission problem.
No, you are not right. At least for Windows 7 and if UAC is on. Try to change some file in Program Files or Windows folder. That is why you have Run as Administrator. You are logged as Administrator but run with user rights, and need to explicitly elevate your rights for some actions. Normally.

Please attach here a screenshot of yours File Association dialog when you do the change.
Also try to change some other extension.
Would be also helpful to get registry log after you pressed Update All and in File Association dialog (you can use Process monitor from SysInternals for this).

The path modified is:
_T("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\View Source Editor\\Editor Name")
redirection to Wow6432Node is done by Windows automatically.
Which IE you are using 32 or 64 bit?
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]