WebBrowser控件忽略FEATURE_BROWSER_EMULATION章入门 [英] Webbrowser control ignores FEATURE_BROWSER_EMULATION reg entry
问题描述
林发展与.NET的Web浏览器控件自定义浏览器的解决方案。
要禁用IE-了兼容性视图,我设置的注册表项
软件\\微软\\的Internet Explorer \\ MAIN \\ FeatureControl \\ FEATURE_BROWSER_EMULATION:
Im developing a custom browser solution with .net's Webbrowser control. To disable the IE-Compatibilty View, I set the registry entry Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION:
[撷取画面注册表编辑器] http://zbirk.mirk.at/browserreg.png 截图
[Sreenshot regedit] http://zbirk.mirk.at/browserreg.png "Screenshot"
我试图使用的值:DWORD = 8000,DWORD = 8888,DWORD = 9000,但WebBrowser控件似乎忽略这些章项
i tried to use the values: dword=8000,dword=8888,dword=9000, but the webbrowser control seems to ignore these reg entries.
也许有人有这个问题也和帮助我。
Maybe someone had this problems too and may help me.
推荐答案
确保您不会vshost内运行
ensure that you are not running within vshost
应用程序的名称将是不同的,即appname.vshost.exe
the app name would be different ie appname.vshost.exe
这篇关于WebBrowser控件忽略FEATURE_BROWSER_EMULATION章入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!