ShowStartupDialog Property

Microsoft FrontPage Visual Basic

ShowStartupDialog Property

Returns or sets a Boolean that determines if the New task pane will be displayed when Microsoft FrontPage is started.

expression.ShowStartupDialog

expression    Required. An expression that returns an Application object.

Remarks

The ShowStartup property is global, meaning that any changes will not take affect until FrontPage is restarted.

Example

The following example sets the ShowStartupDialog property to True. The next time FrontPage is started, the New pane will appear.

    Sub TaskPaneStartup()
'Modifes the Startup task pane property

    Dim objApp As FrontPage.Application
    Set objApp = FrontPage.Application

    With objApp
       'Set to True, the task pane will appear on startup
       .ShowStartupDialog = True
    End With

End Sub