Click to return to the Reusing Browser Technology home page    
IWebBrowser2::put_MenuBar...     IWebBrowser2::put_Registe...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::put_Offline Method


Sets a value that indicates whether the WebBrowser control is currently operating in offline mode.

Syntax

HRESULT put_Offline(
    VARIANT_BOOL bOffline
);

Parameters

bOffline
VARIANT_BOOL that is set to TRUE if the WebBrowser control is reading from the local cache. If this parameter is FALSE, the control attempts to read from the source document.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

In offline mode, the browser is forced to read HTML pages from the local cache rather than from the source document.



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.