INFO: Advantages of Hosting WebBrowser Control Instead of MSHTMLLast reviewed: February 16, 1998Article ID: Q180365 |
The information in this article applies to:
SUMMARYUsing the Internet Client SDK, an application can take advantage of the features of Internet Explorer 4.0 by hosting either the WebBrowser control or MSHTML. Both of these provide many features. However, the WebBrowser control offers a lot more functionality and is more appropriate for the vast majority of applications, where browsing or rich content viewing are the primary objectives. The purpose of this article is to show the advantages of hosting the WebBrowser control as opposed to hosting MSHTML.
MORE INFORMATIONThere is currently only one scenario where it is recommended that an application host Mshtml.dll rather than the WebBrowser control: Parsing HTML. The WalkAll sample in the Internet Client SDK demonstrates how to host MSHTML. The WalkAll sample also shows how to host MSHTML without the UI. By hosting the WebBrowser control rather than MSHTML, you get the following functionality for free:
REFERENCES"Internet Tools and Technologies" under the "Reusing the WebBrowser Control and MSHTML" section in the Internet Client SDK online help: (http://www.microsoft.com/msdn/sdk/inetsdk/help/)
|
Additional query words: mshtml
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |