location Property

Microsoft FrontPage Visual Basic

location Property

Returns an FPHTMLLocation object that represent the properties of the URL of the an HTML document.

expression.location

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

Example

The following example reloads the specified document.

Note  When you use the reload method on a saved document that has been changed but not resaved, a message appears asking if the user wants to revert to the previously saved version.

    Dim objLocation As FPHTMLLocation

Set objLocation = ActiveDocument.Location

objLocation.reload