Partager via


Using WebBrowser Controls

The WebBrowser control (IWebBrowser2 interface), exposed through the Internet Explorer browser control host, adds browsing, document viewing, and data downloading capabilities to your applications. Applications that implement this control enable the user to browse Internet sites, as well as folders in the local file system and on a network. The WebBrowser control supports Web browsing through both point-and-click hyperlinking and Uniform Resource Locator (URL) navigation. The control maintains a history list that allows the user to browse forward and backward through previously browsed sites, folders, and documents.

The WebBrowser control directly handles navigation, hyperlinking, history lists, favorites, and security. Applications can also use the WebBrowser control as an Active Document container to host other Active Documents. This means that richly formatted documents, such as a Microsoft Excel spreadsheet or Microsoft Word document, can be opened and edited in-place from within the WebBrowser control. WebBrowser is also an ActiveX control container that can host any ActiveX control.

For more information about using the WebBrowser control, see Adding Internet Browsing Functionality to Your Application.

See Also

Internet Explorer MSHTML/DHTML API

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.