Because I read a lostinet article.Article,
Use mshtml and webbrowser to generate beautiful and practical winform applicationsProgram(By lostinet) http://blog.csdn.net/waxdollcheung/articles/324498.aspx
Try to use mshtml in a recent applet.
In the routines (http://www.lostinet.com/files/WinHtml.zip) provided by lostinet, the reference is the "Microsoft HTML Object Library" in the COM component, version 4.0, "mshtml" is displayed in the reference list of the project ".
Actually ,. the. NET Framework component also provides the mshtml component. under the. NET tab, you can find "Microsoft. the mshtml component, whose version is 7.0.3300.0. After being referenced, it is displayed as "Microsoft. mshtml ", in the same programCodeNo errors were found when using these two components.
I personally think we should still use the. NET Framework component. Using the COM component may cause deployment problems caused by the version.