S
Sascha
Hello,
I'm trying to implement my own ShellFolder. This folder should
represent a virtual folder in the explorer, but the data that will be
listet, should be provided by some webservices.
I found out, that I have to add some Registry-Keys and in the key
HKEY_CLASSES_ROOT\CLSID\{myUID}\InprocServer32 I can set the name of
my dll that implements the IShellFolder.
That looks like that:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}]
@="FOLDER_TEST"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}\DefaultIcon]
@="C:\\test\\MyIcon.ico"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}\InprocServer32]
@="C:\\test\\MyNamespaceExtension.dll"
"ThreadingModel"="Apartment"
"LoadWithoutCOM"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}\ShellFolder]
"Attributes"=hex:00,00,00,00
"WantsFORPARSING"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\MyComputer\NameSpace\{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}]
@="FOLDER_TEST"
Then I build a DLL and register it with regasm. After starteing the
explorer I see the new foldernode in MyComputer but my functions seems
do be ignored.
Has someone done something like this before and can tell me what I've
done wrong.
It would be great if someone has a example of a C# ShellFolder to
provide own data ...
Thanks,
Sascha
I'm trying to implement my own ShellFolder. This folder should
represent a virtual folder in the explorer, but the data that will be
listet, should be provided by some webservices.
I found out, that I have to add some Registry-Keys and in the key
HKEY_CLASSES_ROOT\CLSID\{myUID}\InprocServer32 I can set the name of
my dll that implements the IShellFolder.
That looks like that:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}]
@="FOLDER_TEST"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}\DefaultIcon]
@="C:\\test\\MyIcon.ico"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}\InprocServer32]
@="C:\\test\\MyNamespaceExtension.dll"
"ThreadingModel"="Apartment"
"LoadWithoutCOM"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\
{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}\ShellFolder]
"Attributes"=hex:00,00,00,00
"WantsFORPARSING"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
\MyComputer\NameSpace\{D4754B5B-0581-4746-8C2E-6A29DB98AF0E}]
@="FOLDER_TEST"
Then I build a DLL and register it with regasm. After starteing the
explorer I see the new foldernode in MyComputer but my functions seems
do be ignored.
Has someone done something like this before and can tell me what I've
done wrong.
It would be great if someone has a example of a C# ShellFolder to
provide own data ...
Thanks,
Sascha