Refresh Method (Web Object Model)

Microsoft FrontPage Visual Basic

Refreshes the specified WebEx object.

expression.Refresh(FetchAll)

expression    Required. An expression that returns a WebEx object.

FetchAll    Optional Boolean. True to retrieve all information for all documents regardless of view. When set to False this argument retrieves only the information necessary to support the current view. However, if the Reports or Hyperlink view is open, False refreshes all documents. Default is False.

ShowRefresh method as it applies to the PageWindowEx object.

Refreshes the specified page with an option to save changes.

expression.Refresh(SaveChanges)

expression    Required. An expression that returns a PageWindowEx object.

SaveChanges   Optional Boolean. True to save changes.

Example

The following statements refresh the active page and the first page of the first Web site opened.

ActivePageWindow.Refresh
WebWindows(0).PageWindows(0).Refresh

You can use the following statement to save any changes you may have made to the active page.

ActivePageWindow.Refresh(True)

You can use the following statements to refresh the active Web site and the first Web site opened.

ActiveWeb.Refresh
Webs(0).Refresh