使用webbrowser.navigate(" about:blank")时在win 7上出现空白错误 [英] Getting about blank error on win 7 while using webbrowser.navigate("about:blank")

查看:526
本文介绍了使用webbrowser.navigate(" about:blank")时在win 7上出现空白错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  Hello  每个人 

< span class =code-leadattribute>我 am 使用 WebBrowser 控制 导航 function to navigation < span class =code-leadattribute> about:blank in my < span class =code-leadattribute> application 。
smartbrowser .navigate(about:blank)。
相同 代码 < span class =code-leadattribute> -leadattribute> Windows XP
Windows 7 get 关注 错误

about:blank 可访问 可能 权限 使用 network resource Contact 管理员 服务器 查找 out 如果 访问 权限
参数 < span class =code-leadattribute>不正确



smartbrowser 浏览器 已创建 继承 by usercontrol

SmartBrowser: UserControl

那里 任何 配置 设置 < span class =code-leadattribute> for ie win7 fix 问题

执行 i 需要 add 任何 代码 fix it

help ASAP < /跨度>。

谢谢 u in advance

解决方案

它是一个Windows窗体应用程序

Hello everyone

I am using the WebBrowser Control navigate function to navigate to "about:blank" in my application.
smartbrowser.navigate("about:blank").
The same code works find in Windows XP.
In Windows 7, I get the following error.

about:blank is not accessible.You might not have permission to use this network resource.Contact the administrator of this server to find out if you have access permissions.
The parameter is incorrect.


smartbrowser is a browser that is created by inherited by usercontrol

SmartBrowser: UserControl

Is there any configuation setting for ie or win7 that could fix this issue.

Or do i need to add any code to fix it.

Please help ASAP.

Thanks u in advance

解决方案

its a windows form application


这篇关于使用webbrowser.navigate(&quot; about:blank&quot;)时在win 7上出现空白错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆