PC Review


Reply
Thread Tools Rate Thread

Create own virtual ShellFolder (Namespace Extensions for WindowsExplorer)

 
 
Sascha
Guest
Posts: n/a
 
      24th Apr 2008
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
 
Reply With Quote
 
 
 
 
Andre Jonker
Guest
Posts: n/a
 
      20th Oct 2010
Sascha

Have you had any luck with getting the virtual ShellFolder to work? I am interested to hear what you have found.

Thanks,

Andre

> On Saturday, April 26, 2008 12:42 AM Sascha wrote:


> 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



> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Freeze Row Group Header in WPF DataGrid
> http://www.eggheadcafe.com/tutorials...-datagrid.aspx

 
Reply With Quote
 
Andre Jonker
Guest
Posts: n/a
 
      20th Oct 2010
Sascha

Have you had any luck with getting the virtual ShellFolder to work? I am interested to hear what you have found.

Thanks,

Andre

> On Saturday, April 26, 2008 12:42 AM Sascha wrote:


> 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



>> On Wednesday, October 20, 2010 6:45 AM Andre Jonker wrote:


>> Sascha
>>
>>
>>
>> Have you had any luck with getting the virtual ShellFolder to work? I am interested to hear what you have found.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Andre



>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>> ASP.NET MaskedTextBox Custom Control
>> http://www.eggheadcafe.com/tutorials...m-control.aspx

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need tool to delete/create context menu entries in WindowsExplorer Frank Callone Windows XP General 3 2nd Aug 2005 06:17 PM
Need tool to delete/create context menu entries in WindowsExplorer Frank Callone Windows XP Help 0 1st Aug 2005 10:56 PM
Need tool to delete/create context menu entries in WindowsExplorer Frank Callone Microsoft Windows 2000 0 1st Aug 2005 10:56 PM
Shell Namespace Extensions =?Utf-8?B?RGF2aWQgV2hpdGNodXJjaC1CZW5uZXR0?= Microsoft VB .NET 0 24th Jun 2005 07:45 PM
Can I use Explorer Namespace Extensions in Outlook Dave Mills Microsoft Outlook Program Addins 1 18th Jul 2003 04:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:15 AM.