dWebBrowser常用知识点

Posted 隨风.NET

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dWebBrowser常用知识点相关的知识,希望对你有一定的参考价值。

1.webbrowser调用的就是本机IE,并且webbrowser默认就是运行在IE7 mode下,除非你改变它.

2.不装IE,无法用webbrowser.

3.设置WebBrowser在IE9 mode下工作呢

There are two different sets of keys for 32 bit and 64 bit applications.

32 bit:

HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\MAIN\\FeatureControl\\FEATURE_BROWSER_EMULATION

Value Key: yourapplication.exe

64 bit:

HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Internet Explorer\\MAIN\\FeatureControl\\FEATURE_BROWSER_EMULATION

Value Key: yourapplication.exe

The value to set this key to is (taken from MSDN here) as decimal values:

9999 (0x270F) 
Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the !DOCTYPE directive.

9000 (0x2328) 
Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode.

8888 (0x22B8) 
Webpages are displayed in IE8 Standards mode, regardless of the !DOCTYPE directive.

8000 (0x1F40) 
Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode.

7000 (0x1B58) 
Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode.

 

参考:

http://www.cnblogs.com/liuzhendong/archive/2012/03/21/2410107.html

 

Webbrowser控件中屏蔽弹出脚本错误对话框

http://www.cnblogs.com/qqflying/archive/2012/07/25/2607881.html

 

经验总结:WebBrowser自动点击弹出提示框alert、弹出对话框confirm、屏蔽弹出框、屏蔽弹出脚本错误的解决办法

http://www.cnblogs.com/qqflying/archive/2012/07/25/2608038.html

 

利用webBrowser获取页面iframe中的内容

 

 [转]如何解决WebBrowser.DocumentCompleted事件的多次调用

 

WebBrowser常用属性方法

 

webBrowser中操作网页元素全攻略

 

Winform 部署mshtml程序集出错的解决方案(该应用程序要求在全局程序集缓存GAC中安装程序集miscrosft.mshtml)

 

http://www.cnblogs.com/liuzhendong/archive/2012/04/27/2474363.html

以上是关于dWebBrowser常用知识点的主要内容,如果未能解决你的问题,请参考以下文章

javascript常用知识点集

Android常用知识点-[常用备忘,持续更新]

Python常用知识点

常用初等数论小知识

sed常用知识点

jquery常用知识点