Refresh MethodRefresh Method*
*Contents  *Index  *Topic Contents
*Previous Topic: Quit Method
*Next Topic: Refresh2 Method

Refresh Method

Description

Reloads the page currently displayed in the WebBrowser control.

Syntax

object.Refresh

PartDescription
objectRequired. An object expression that evaluates to an object in the Applies To list.

Remarks

The WebBrowser control and Internet Explorer application store Web pages from recently visited sites in cached memory on the user's hard disk. This saves time when revisiting a site by reloading the page from the local disk rather than downloading it again across the network from the remote HTTP server. You can force the WebBrowser control or Internet Explorer application to redownload a page by using the Refresh or Refresh2 method to ensure that you are viewing the most current version of the page. Also, you can disable the cache from being used by specifying the navNoReadFromCache and navNoWriteToCache flags when calling the Navigate or Navigate2 method.

Applies To

InternetExplorer, WebBrowser

See Also

Refresh2, Stop


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.