Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.LoadWebPaneControl Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Supports the Web pane that hosts the Task Drivers, Project/Resource Import Wizard, and Deliverables features.

Syntax

expression. LoadWebPaneControl( ** TargetPage, ** WrapperPage )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
TargetPageRequiredStringA numeric ID that identifies the HTML target page that needs to be displayed. TargetPage can also be set to a URL, an XML stream, a pointer to an XML file, or any other string value.
WrapperPageOptionalVariantA pointer to an HTML page that provides wrapper functionality for the page being displayed in Project. The wrapper page contains event-handling code that allows Project functionality, such as saving files or changing views, to work when a web page is being displayed. The WrapperPage parameter is only used when the Project Guide is hidden. When the Project Guide is shown, mainpage.htm is used as the wrapper page, and a WrapperPage parameter, if specified, is ignored. If no WrapperPage parameter is specified, Project's default wrapper page, gbui://wrapper.htm, is used

Return Value

Boolean

Remarks

The LoadWebPaneControl method is similar to the LoadWebBrowserControl method for the Project Guide, except TargetPage is a URL and the method generates an Application.LoadWebPane event. The default WrapperPage is Mainpage_wp.htm.

© 2018 Microsoft