不能使用Webbrowser导航到IE8中的URL? [英] not navigate to URL in IE8 using webbrowser navigate ?

查看:66
本文介绍了不能使用Webbrowser导航到IE8中的URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过使用IE7,我可以导航到我的URL.但是我正在使用IE8,则该代码无法导航到URL.请回复.

by using IE7, i am navigate to my URL. but i am using IE8 then that code not navigate to URL.Kindly reply.

推荐答案

如果要打开IE

If you want to open IE

System.Diagnostics.Process.Start("iexplore http://www.yoursite.com")



如果要使用vs.net Web浏览器控件



If you want to use the vs.net webbrowser control

webbrowser1.nativage(new URI("http://www.yoursite.com")


这篇关于不能使用Webbrowser导航到IE8中的URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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