Click to return to the Reusing Browser Technology home page    
Quit Method     Refresh2 Method     WebBrowser Methods    
Web Workshop  |  Reusing Browser Technology

Refresh Method


Reloads the page currently displayed in the WebBrowser control.

Syntax

object.Refresh

Parameters

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

Remarks

The WebBrowser control and Microsoft® 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



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.