We are working on an extension snap in. Under Computer management - Local Users and Groups we want an additional property page when properties are selected. This property page will show some kind of data from a SQL Server 2005 database. It should also contain a button that launch into our own application operator maintenance. Can some One guide me as to how can I go about achieving this since this subject is pretty unknown to me. I also need help with installation of the created <snap in> to the registry.
< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Very urgent.
Looking foward for your help
Thanx in advance

MMC 3.0 Snapin
Donald Baker
Hi friends I have got the information required .
To extend a property page we have PropertySheetExtension Class. In Our SnapIn attributes have an extendsNodeType attribute where you can define the node type which you want to extend.OnAddProperty pages method adds the property page to the collection of property pages .
This is the way to add a property page to an existing Snapin,
Thanks
Bhargav
JaneYu
Here's my propertyextension implementation:
[SnapInSettings("{A841B6C2-7577-11D0-BB1F-00A0C922E79C}",
DisplayName = "Extension to IIS prop sheet",
Description = "Adds a Property Page to IIS")]
[ExtendsNodeType("{CBEE6796-493B-4e84-95DA-F0F8717C8C2B}")]
public class IISPropertySheetExtension : PropertySheetExtension
{
public IISPropertySheetExtension()
{
}
protected override void OnAddPropertyPages(PropertyPageCollection propertyPageCollection)
{
PropertyPage page = new PropertyPage();
page.Title = "me new page";
propertyPageCollection.Add(page);
base.OnAddPropertyPages(propertyPageCollection);
}
}
viga
SnapInSettings attribute is our new propertypages guid.
ExtendsNodeType attribute is the existing snapin guid onto who's propertysheet we wish to append a property page.
Is this correct
Najmeh
Extending the ComputerManagement -LocalUsers and groups snapin
which should get the extra property page which displays information from the database and a button for some new functionality.
Hope some one knows this
ididntdoit
Hi Friends,
Sorry for being Late.
have a look at the code below
[SnapInSettings("{2698071B-151D-48b3-9264-7A9F8AD8D668}",
DisplayName = "extension to prop sheet",
Description = "Adds a Property Page to Computer Management")]
[ExtendsNodeType("{5D6179CC-17EC-11D1-9AA9-00C04FD8FE93}")]
Where the Guid inside the SnapIn settings Attribute is the Guid with which the
created Snapin registers itself in the Registry.This Guid is randomly generated.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
("{5D6179CC-17EC-11D1-9AA9-00C04FD8FE93}") this is the GUID of the Users node under the local users and groups. This is taken from Registry.
Second step , We need to override the function OnAddPropertyPages
to add the property page.
This is what i have done.But What is the clipBoard format that should be shared among the property Pages is not ound any where.
please help if any one knows
thanks
Bhargav
GaryIsMyName
I'm presently working on a similar task, trying to add a propertypage to a propertysheet.
I've created the PropertySheetExtension class and overridden the OnAddPropertyPages() method but how can I register this with mmc.
the regsvr32 script will not allow it, "DLLRegisterServer entry point not found".
Is there some more funtionality before trying to register or am I completely off the mark
Anyone manage to locate examples code for this type of exercise
arcdigital
This being said I don't understand the 'In Our SnapIn attributes have an extendsNodeType attribute where you can define the node type which you want to extend.'
Could you translate into code what you mean That would be very appreciated, and used!