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