Share via


Identifying the ASP Page to the Plug-in

banner art

Previous Next

Identifying the ASP Page to the Plug-in

You can use the ASPMoniker property to specify the name of the ASP property page to the plug-in. If you are using ATL to create a custom plug-in, specify the ASPMoniker property in the property section of the registration script as illustrated by the following example. For more information, see Registering Plug-in Properties.

      ForceRemove Properties
      {
         val Name = s 'My Sample Plug-in Name'
         val ASPMoniker = s 'SampleAdmin.asp'
      }

If you are using .NET to create a plug-in, you can specify the ASPMoniker property in your registration function. This is illustrated by the following example. For more information, see Registering a .NET Plug-in.

    RegistryKey regHKCR = Registry.ClassesRoot;
    regHKCR = regHKCR.CreateSubKey("CLSID\\{E1171A34-1F13-46d9-AA8A-63F47E92207C}\\Properties");
    regHKCR.SetValue("ASPMoniker ", "SampleAdmin.asp");

See Also

Previous Next