Microsoft Producer for PowerPoint 2003 SDK banner art
PreviousNext

Options.AddWebHost

The AddWebHost method adds a WebHost with the specified name and HTMLBasedUIURL to the registry, and returns a new WebHost object. An existing WebHost with the same name is only overwritten if the overwrite parameter is set to true.

Syntax

Application.Options.AddWebHost(name, HTMLBasedUIURL, overwrite)

Parameters

  name

String containing the name of the WebHost to add.

  HTMLBasedUIURL

String containing the value used to set the WebHost.HTMLBasedUIURL property. This value can be either a URL indicating the user-interface location, or the empty string (""), which indicates that the default standard user interface will be used.

  overwrite

Boolean indicating whether an existing WebHost with the specified name should be overwritten.

Return Values

This method returns a WebHost object.

See Also

PreviousNext


© 2001-2003 Microsoft Corporation. All rights reserved.