Re: Register Extension blur me
- From: "Samoa" <samoa@xxxxxxxxxxx>
- Date: Mon, 17 Apr 2006 10:27:23 +0100
The Mike code is very good.. but is not enough for me, not all icons are
refreshed,
after notify with SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0);
not even reboot helps.
So I send another notify:
the: SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_FLUSH, 0, 0);
and the refresh works fine without reboot also.
Then the problem was the popupmenu Open and double-click start - still
previous program starts!
I solve the problem by setup keys also in to the below reg. key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExt
s\
and now works fine!
My question is, what that key do? and is it back compatible?
Because, I can find anything about on Internet...
"J French" <erewhon@xxxxxxxxxx> wrote in message
news:444342dd.172438280@xxxxxxxxxxxxxxxxxxxxxxx
On Sun, 16 Apr 2006 23:09:38 +0100, "Samoa" <samoa@xxxxxxxxxxx> wrote:not.
Thanx... I tray that code, is fine for new extension...
But I have problems with re:registering an already associated ext.
After associating and Shell Notify, I look at keys and they are ok, right
pointed to my prog.
But when I double click or open the file associated then it still opens
in a old progarm, also after reboot...
And the strage thing is that some extensions work right and the other
I also add shell notify flush and wait until notifying is complete.
I acheive some better results but it not helps.
You probably misunderstood Mike's code
Inspect how WinZip does it - in the Registry
Also: My Computer, View, Options, File Types
Also the parameter %1 is best wrapped as "%1" to handle spaces in
file names
.
- Follow-Ups:
- Re: Register Extension blur me
- From: J French
- Re: Register Extension blur me
- References:
- Register Extension blur me
- From: Samoa
- Re: Register Extension blur me
- From: Mike Shkolnik
- Re: Register Extension blur me
- From: Samoa
- Re: Register Extension blur me
- From: J French
- Register Extension blur me
- Prev by Date: Setting a Shortcut question
- Next by Date: Re: Register Extension blur me
- Previous by thread: Re: Register Extension blur me
- Next by thread: Re: Register Extension blur me
- Index(es):
Relevant Pages
|