Does the webbrowser require IE installed on client machine

安稳与你 提交于 2019-12-24 06:45:07

问题


I was just wondering whether any version of I.E. must be installed on the client machine when deploying an application that uses the webbrowser control (target .net 2 platform)

Thanks


回答1:


Yes, the webbrower control uses mshtml.dll which is provided by Internet Explorer.




回答2:


When you use the "Add/Remove Windows Components" applet to "remove" Internet Explorer, it removes the iexplore.exe entry point but leaves all of the components of the Web Browser Control installed. Those components are a critical part of windows and cannot be uninstalled.

Having said that, if the user does remove Internet Explorer using this option, there can be problems with Web Browser Controls that try to spawn new windows. Please see http://blogs.msdn.com/b/ieinternals/archive/2009/06/19/making-the-web-browser-control-launch-the-default-browser.aspx




回答3:


Yes, it does - but every windows computer has IE preinstalled.




回答4:


The webbrowser control do require IE present on the machine as it requires MSHTML.



来源:https://stackoverflow.com/questions/6746393/does-the-webbrowser-require-ie-installed-on-client-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!