Directory Services |
The Active Directory® administrative MMC snap-ins and Microsoft® Windows® 2000 shell provide a mechanism to add an item to the context menu displayed for Active Directory objects. A context menu item can be added by implementing an COM in-proc server known as a context menu extension. A context menu item can also be added that invokes any file started with the ShellExecute API, such as an application or Web page URL. This is known as a static context menu item.
This documentation assumes that the reader is familiar with COM operation and component development using C++. It is not currently possible to create an Active Directory context menu extension using Microsoft® Visual Basic®.
A context menu extension is a COM in-proc server that implements certain interfaces and is registered with Active Directory.
To create and install a context menu extension
A static context menu item can be used to invoke any file started with the ShellExecute API, such as an application or Web page URL. To accomplished this, the static context menu item for a particular object class must be registered so that the static context menu item is added to the context menu of objects of that class. For more information, see Registering a Static Context Menu Item.