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

IWebBrowser2::put_RegisterAsBrowser Method


Sets a value that indicates whether the WebBrowser control is registered as a top-level browser for target name resolution.

Syntax

HRESULT put_RegisterAsBrowser(
    VARIANT_BOOL bRegister
);

Parameters

bRegister
Boolean value that determines whether Microsoft® Internet Explorer is registered as a top-level browser. If TRUE, the WebBrowser is registered as a top-level browser; if FALSE, it isn't. The default value is FALSE.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


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.