Refresh

Description

Refreshes the current Web page. This is similar to navigating to the URI of current top level document including all navigation events firing and respecting any entries in the HTTP cache. But, the back or forward history will not be modified.

Applies to

WebBrowser control

Syntax

controlname.Refresh ( )

Argument

Description

controlname

The name of the WebBrowser control.


Return value

Integer.

Returns 1 if the function succeeds and a negative value if an error occurs. If any argument's value is null, the method returns null.

Examples

The following example refreshes the current Web page wb_1:

Integer li_Ret

li_Ret = wb_1.Refresh()

See also

CancelDownload

EvaluateJavascriptAsync

EvaluateJavascriptSync

GetSource

GoBack

GoForward

Navigate

PrintAsPDF

PauseDownload

RegisterEvent

ResumeDownload

StopNavigation

UnregisterEvent

Zoom