This method of the IWebBrowser2 interface sets a value indicating whether the WebBrowser control is registered as a top-level browser for target name resolution.
public void setRegisterAsBrowser(boolean Register);
Register | Determines whether Microsoft® Internet Explorer is registered as a top-level browser. If TRUE, the WebBrowser control is registered as a top-level browser; if FALSE, it is not a top-level browser. The default value is FALSE. |