Network Neighbourhood - Context Menu

  • Thread starter Thread starter sujit
  • Start date Start date
S

sujit

Hi Friends,
From last week I am trying to solve this problem. But still no
success.
Here is my requirement,
When we click on Microsoft Windows Network->Microsoft Windows
Network->Workgroup then on the right hand side of the Explorer it will
show us all computer.
After right clicking on any computer we will get one ContextMenu. I
want to add one menu item into that menu.

Here what I did,
I wrote one Shell extension COM DLL. I register this Shell
Extension DLL under registry key,
HKEY_CLASSES_ROOT\Network\Type\2\shellex\ContextMenuHandlers\MyMenu
and default value for MyMenu key is CLSID.
After registring the DLL this CLSID will appear in following
key also,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved
HKEY_CLASSES_ROOT\CLSID
HKEY_CLASSES_ROOT\Network\Type\2\shellex\ContextMenuHandlers\MyMenu
(under default value)
But still menu is not appearing.

This Shell extension DLL is getting properly installed. But
menu is not appearing. But if I register this DLL under
HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\MyMenu
OR
HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\MyMenu
Then correct Menu item is appearing. (Note: MyMenu is my own key).

What is the problem. Please tell me the detail thing or send me one
sample which will extactly similer to my problem.

Thanks in advance
 
Hello,

I wasn't able to find much on shell extensions for network-type folders.
Would it be possible for you to send your DLL my way so I can figure out
where it needs to be installed for it work correctly?

-Tim
 
Back
Top