Platform SDK Shell >> [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

by Aaron Gray » Tue, 13 Jan 2004 05:38:17 GMT

Whats is this ?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved]
"{A4D78B20-6E05-1069-8758-08002B2BD64F}"="Sample Drag&Drop Extension"

Is it needed ?

Can someone explain I have not seen any documentation on it. It was in an
SDK example 'DropExt' the example does not seem to work or do anything.

Aaron




Platform SDK Shell >> [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

by Kenneth Myhra » Tue, 13 Jan 2004 06:25:53 GMT


You can remove the registry value {A4D78B20-6E05-1069-8758-08002B2BD64F} if
you want to disable the extension from loading. The best thing to do would
be to run regsvr32.exe /u [PathAndNameOfDllToBeRemoved] and the dll should
remove all its registry entries.

-Kenneth








Platform SDK Shell >> [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

by Kenneth Myhra » Tue, 13 Jan 2004 06:32:30 GMT

Sorry, I did not read your post very well. The value in the Approved key is
required on NT machines like NT4/2000/XP for your shell extension to be
loaded, but not on Windows 95/98 and I guess ME.

-Kenneth



if


an




[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

by Aaron Gray » Wed, 14 Jan 2004 00:51:54 GMT

> Sorry, I did not read your post very well. The value in the Approved key
is

XP does not seem to need the 'Approved' key for the extension to be loaded,
I have examples that work and do not use it.

Maybe it is just a bygone, as the example it came from is a very old MS one.

Aaron




[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

by Aaron Gray » Wed, 14 Jan 2004 00:53:36 GMT

>The best thing to do would

This does not seem to work. Hence the next post "Releasing IContextMenu
shell extension DLL".

Aaron




[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

by Aaron Gray » Thu, 15 Jan 2004 00:15:07 GMT

> >[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell

Great, thanks for putting that straight, now I know that I will be able to
ignore it :)

Aaron