ShowHTMLDialog Method

Microsoft FrontPage Visual Basic

ShowHTMLDialog Method

Displays a custom dialog box by using the contents of an HTML page. Returns a Variant.

expression.ShowHTMLDialog(Url, pVarArgIn)

expression    Required. An expression that returns one of the objects in the Applies To list.

Url    Required String. The path and file name of the page to render as a dialog box.

pVarArgIn    Optional Variant. Data used to set the initial settings of the custom dialog box.

Example

The following example displays the specified Web page in a Microsoft Windows dialog box.

    Application.ShowHTMLDialog("c:\test.htm")