Problem - Open Images witch TC & Vista
Moderators: white, Hacker, petermad, Stefan2
- GeProtector
- Junior Member
- Posts: 8
- Joined: 2004-11-27, 21:25 UTC
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I see - if there is no entry at all, TC uses WinExec. I will change that.I dont know why, but for these filetaype there is no entry.
How should TC get the icon if there is no entry?i dont have mini-icons for these files
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- GeProtector
- Junior Member
- Posts: 8
- Joined: 2004-11-27, 21:25 UTC
Found me a solution
Thanks for the tip! I´ve got this problem a long time!
I can´t open avi files (or could).
I went to the registry in Windows Vista (I.E. HKEY_CLASSES_ROOT)
and just renamed i.e. .avi to .avi_ so I an make a "fresh" assisiation to the files I needed.
After this everything worked!
Great!
I can´t open avi files (or could).
I went to the registry in Windows Vista (I.E. HKEY_CLASSES_ROOT)
and just renamed i.e. .avi to .avi_ so I an make a "fresh" assisiation to the files I needed.
After this everything worked!
Great!
ghisler(Author) wrote:It's not a bug of Total Commander. I'm just calling ShellExecuteEx now with the image file as parameter and NULL as the Verb, so Windows does all the rest.
There must be some kind of ambiguity in your associations, which is handled by the Explorer in one way, and the Windows functions in another way. Removing this ambiguity will fix the problem.
Can you post the association for this file type, please?
There are two keys involved:
1. HKEY_CLASSES_ROOT\.jpg
Post the contents of this key (start regedit, go to the key, choose Export - Only the selected branch). Then paste the contents of the file here.
2. The above key contains a (default) value. This value is something like jpg_file or Jpegfile or similar. So repeat the same with the key named jpg_file or Jpegfile (or whatever you found as the default value) under HKEY_CLASSES_ROOT.
File Associations and Nero
I had the same association problem with Total Commander only (v6.56) in a system running Vista Ultimate 64. It started after I uninstalled Nero 7.5.9.0 so it was definitely Nero that messed up the associations.
They work fine from explorer but always open the Open With box from Total Commander (even if there was only 1 program available to handle the type).
I tried so many registry deletions and found keys to delete to resolve the problem but it was even easier when I explored Total Commander a bit and set up new associations within it - I would highlight an .avi file, for instance, and go into Files / Associate With and highlight the program I wanted as the default and then click OK.
After that, all was fine
They work fine from explorer but always open the Open With box from Total Commander (even if there was only 1 program available to handle the type).
I tried so many registry deletions and found keys to delete to resolve the problem but it was even easier when I explored Total Commander a bit and set up new associations within it - I would highlight an .avi file, for instance, and go into Files / Associate With and highlight the program I wanted as the default and then click OK.
After that, all was fine
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed this problem is caused by a new registry key "UserChoice", which is currently not documented by Microsoft. I will support it in the next beta.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please try the just-released Release Candidate 1, it should handle "UserChoice" now!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This seems to be fixed with TC7rc1!
I could reproduce the bug with TC7b4 under Vista Ultimate 32:
- ”Open with dialog” shown every time, when trying to start a document with <DBL-click> or <Return>.
- No icon associated with document file.
using a damaged file association (manually removed some keys from registry, trying to simulate an incomplete deinstallation).
With TC7rc1 the ”open file with” dialog doesn’t appear (did his job already during test with TC7b4), and the associated program is always started.
Even the document icon is shown correct (may be after one restart of TC).
Thanks for fixing this
Kind regards,
Holger
I could reproduce the bug with TC7b4 under Vista Ultimate 32:
- ”Open with dialog” shown every time, when trying to start a document with <DBL-click> or <Return>.
- No icon associated with document file.
using a damaged file association (manually removed some keys from registry, trying to simulate an incomplete deinstallation).
With TC7rc1 the ”open file with” dialog doesn’t appear (did his job already during test with TC7b4), and the associated program is always started.
Even the document icon is shown correct (may be after one restart of TC).
Thanks for fixing this
Kind regards,
Holger
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for checking it! Indeed the icon extraction also considers the UserChoice key now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com