Welcome Guest.   Make a donation to an author on the site September 17, 2014, 04:41:06 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: did the latest update (2.10.01) affect file associations?  (Read 5978 times)
cedardoc
Participant
*
Posts: 36


View Profile Give some DonationCredits to this forum member
« on: June 18, 2008, 10:53:21 AM »

I could have sworn that before this update, when I clicked a link to a text file from a FARR list, it would open in Ted Notepad (that's what I have the default application set as for txt files), but today they're opening in notepad.exe.

Any suggestions?

DP
Logged
mouser
First Author
Administrator
*****
Posts: 33,356



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: June 18, 2008, 10:59:41 AM »

farr does not change any file associations.

HOWEVER -- i did change slightly the way far tells the system to open files.. and it may be that this method is not obeying some "open with" preferences that it used to?  does anyone have any further cases of this or insight?

For what it's worth, my txt files still open in UltraEdit, my system-configured text file opening editor (rather than notepad).

[for the technically minded, i changed from ShellExecute to ShellExecuteEx, AND i added code to find the document class in the registry before invoking the "open" verb.  i suspect it is this document class lookup that is causing the change in behavior, though i'm not sure why.  the change was done to fix the problem some people were having with some documents not opening at all, and it seems to have solved that problem for them, but now it seems to have caused a strange change in behavior for others].
« Last Edit: June 18, 2008, 11:35:54 AM by mouser » Logged
cedardoc
Participant
*
Posts: 36


View Profile Give some DonationCredits to this forum member
« Reply #2 on: June 18, 2008, 11:02:05 AM »

There's definitely something different - its opening spreadsheets in open office when I have it set for excel
Logged
mouser
First Author
Administrator
*****
Posts: 33,356



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: June 18, 2008, 11:34:16 AM »

this is very interesting.. as if you have two separate sets of file associations..

i could certainly put an option to toggle between old and new method of launching, but i'd love to know why it's doing what it's doing.

let's try this -- attached is the older version of my document launcher helper that farr uses to try to be smart and fast about opening documents.  replace your current one with this and see if it makes it behave as before (no need to restart farr).


* quickdoclauncher.exe (36 KB - downloaded 154 times.)
Logged
TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: June 18, 2008, 12:43:22 PM »

Maybe I'm on thin ice here, but sounds a bit like file associations may be read from a specific part of the registry, namely HKCR (aka HKEY_LOCAL_MACHINE\Software\Classes\) while it's also possible to have user-specific (or per-user if you will) file associations in HKEY_CURRENT_USER\Software\Classes\

Look at this post I made not so long ago: http://www.donationcoder....m/index.php?topic=13573.0

edit: The latter registry, HKCU\Software\Classes normally takes precedence (sp?) over HKLM\Software\Classes, but maybe FARR goes directly to HKLM?
« Last Edit: June 18, 2008, 12:45:14 PM by TucknDar » Logged
mouser
First Author
Administrator
*****
Posts: 33,356



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: June 18, 2008, 12:48:58 PM »

That is an excellent guess Tuck.

I'm using HKEY_CLASSES_ROOT which is described here, and *should* use user customized settings and then falling back on system settings.  But whether something is going wrong is possible.

cedardoc, could you check those two registry keys and see if you find differences in how your spreadsheet files are classified, and in what way?
Logged
TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: June 18, 2008, 12:56:10 PM »

Just tested this with a .doc file which is associated to MS Word in HKLM and Textmaker in HKCU, and it opened correctly in HKCU.
Logged
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #7 on: June 18, 2008, 01:44:48 PM »

Where is (2.10.01) ? ANy change list?


thanks
Logged
ptran
Supporting Member
**
Posts: 30

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: June 18, 2008, 02:53:21 PM »

Here's another data point. I used to be able to enter "cmd32" and FARR would run the cmd32.cmd batch file located in a directory that I had specified as a search folder.  It worked on 2.07.01. With 2.10.01, entering cmd32 no longer launches the script. I replaced the quickdoclauncher.exe with the one from reply #3 and it's working again.  Here's what the cmd32.cmd script does:

@if exist "%windir%\SysWow64\cmd.exe" (
    start "cmd32" "%windir%\SysWow64\cmd.exe" %*
) else (
    start "cmd32" "%windir%\System32\cmd.exe" %*
)
Logged
mouser
First Author
Administrator
*****
Posts: 33,356



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: June 18, 2008, 03:07:05 PM »

what happens when 2.10.01 tries to launch it.. nothing? or some error or?
Logged
ptran
Supporting Member
**
Posts: 30

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #10 on: June 18, 2008, 03:28:45 PM »

Sorry for omitting more details.

1. I restored the quickdoclauncher.exe from the 2.10.01 installation.
2. I type in "cmd32" and FARR lists it as match #1, cmd32.cmd.
3. I press return and there's a very, very brief hourglass before the normal cursor appears.

The FARR window is gone. No new command window show up. No errors that I can see.

I'll experiment a bit to see if I can confirm whether the batch file ran or not.


Logged
ptran
Supporting Member
**
Posts: 30

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #11 on: June 18, 2008, 03:37:07 PM »

Here's my experiment. I created a batch file named "xyz.cmd" in the same directory as "cmd32.cmd". The file "xyz.cmd" contains just one line which is: calc.exe

With the 2.10.01 quickdoclauncher.exe, I enter xyz.cmd and the FARR windows closes without the calculator launching.

With the quickdoclauncher.exe from reply #3, I see a command window titled, "E:\WINDOWS\system32\cmd.exe", on my desktop. That command window is showing one command: calc.exe. And the Windows calculator has launched. I close the calculator and it and command window that launched it disappear.
Logged
cedardoc
Participant
*
Posts: 36


View Profile Give some DonationCredits to this forum member
« Reply #12 on: June 18, 2008, 04:18:34 PM »

Hi, sorry - I've been away and now I can't download anything... stupid Vista!

When I can get that file going, I'll let you know what happens

Dave
Logged
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #13 on: June 18, 2008, 05:42:18 PM »

I can confirm that their is definitely something going on with file launching. None of my ms office file extensions are launching at all as well as any pdf and txt files. lnk, exe extensions still work however.

Also might not be a bad idea to keep links to the last two versions just in case the latest release is a little buggy one can go back a version. Cant work without FARR  tongue
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: June 18, 2008, 05:47:04 PM »

s.newave: The stable version (which is a few versions back) is linked at farr's web page Wink
Logged

cedardoc
Participant
*
Posts: 36


View Profile Give some DonationCredits to this forum member
« Reply #15 on: June 18, 2008, 06:04:28 PM »

looks like the problem has been located, but for completions sake, I ran quickdoclauncher, and it didn't fix it.

Dave,

btw, it wasn't "stupid Vista" it was "stupid AVG"
Logged
mouser
First Author
Administrator
*****
Posts: 33,356



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: June 18, 2008, 06:04:53 PM »

Quote
s.newave: The stable version (which is a few versions back) is linked at farr's web page
it used to be but i made this the latest stable version. oops.

i may just go back to the old quickdoclauncher for now until i understand better why this behavior is occuring. so strange.
Logged
ptran
Supporting Member
**
Posts: 30

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #17 on: June 18, 2008, 06:11:21 PM »

I'm open to running a version with some additional logging if the resulting data will be helpful.
Logged
cedardoc
Participant
*
Posts: 36


View Profile Give some DonationCredits to this forum member
« Reply #18 on: June 18, 2008, 06:15:37 PM »

Quote
s.newave: The stable version (which is a few versions back) is linked at farr's web page
it used to be but i made this the latest stable version. oops.

I'm not sure if this is what you meant by the above, but the version on the website that says its 2.07.01 is actually 2.10.01

I'll try it again tomorrow...
Logged
mouser
First Author
Administrator
*****
Posts: 33,356



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #19 on: June 18, 2008, 06:23:16 PM »

I've uploaded a new version which puts back the old quickdoc launcher. just redownload and reinstall to go back to the old method.  I'll ask for more help testing the new mode before i try it again.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.038s | Server load: 0.11 ]