如何为IE版更新我的webbrowser? [英] How can I update my webbrowser for IE version ?
本文介绍了如何为IE版更新我的webbrowser?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用IE版本11.
但是当我通过webbrowser控件上传网站时,我可以通过以下代码看到我的webBrowser使用IE 9。
I am using IE version 11.
But When I upload a website through webbrowser control, I can see that through the following code my webBrowser using IE 9.
private string GetIEVersion()
{
string key = @"Software\Microsoft\Internet Explorer";
Microsoft.Win32.RegistryKey dkey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(key, false);
string data = dkey.GetValue("Version").ToString();
return data;
}
此函数返回数据等于9.11.9600.17420。
那么如何将我的webBrowser从9升级到11?
This function return data equal 9.11.9600.17420.
So how can I upgrade my webBrowser from 9 to 11 ?
推荐答案
一个快速的Googlewebbrowser control ie version出现了< a href =http://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version>这个 [ ^ ]。
花了5秒钟才找到。
A quick Google for "webbrowser control ie version" comes up with this[^].
That took all of 5 seconds to find.
这篇关于如何为IE版更新我的webbrowser?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文