Contents Index Topic Contents | ||
Previous Topic: IWebBrowser2::put_MenuBar Next Topic: IWebBrowser2::put_RegisterAsBrowser |
IWebBrowser2::put_Offline
HRESULT put_Offline( VARIANT_BOOL pbOffline );Sets a value indicating whether the WebBrowser control is currently operating in offline mode. In offline mode, the browser is forced to read HTML pages from the local cache rather than from the source document.
- Returns S_OK if successful, or an OLE-defined error code otherwise.
- pbOffline
- Address of a variable that receives the Offline flag. If this parameter is TRUE, the WebBrowser control is reading from the local cache. If this parameter is FALSE, the control will attempt to read from the source document.
Applies To
WebBrowser, Internet Explorer
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.