从WebBrowser控件中打开IE的新实例 [英] open new instance of IE from WebBrowser control

查看:85
本文介绍了从WebBrowser控件中打开IE的新实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用WebBrowser控件来显示通过NavigateToString转换为HTML的XML.一切都按预期进行.
但是,WebBrowser控件中的所有链接都会在WebBrowser控件中打开新内容,我希望在手机的IE浏览器(单独的窗口)中打开它.
我试过了:
< a href = http://www.microsoft.com/ target ="_ blank">我的链接</a>
以及"_parent"和"_top",但没有运气.

有人知道这是否可能吗?

谢谢!
布伦特

PS:在上面的代码中,指向microsoft.com的href链接没有引号出现,但是我在实际代码中的引号中确实包含了它.

Hello,

I'm using a WebBrowser control to display XML that is converted to HTML via NavigateToString. Everything is working as expected.
However, all links in the WebBrowser control open the new content in the WebBrowser control, and I would like it to open in the phone's IE browser (separate window).
I've tried:
<a href=http://www.microsoft.com/ target="_blank">my link</a>
as well as "_parent" and "_top", but no luck.

Anyone know if this is possible?

Thanks!
Brent

PS: the href link to microsoft.com is appearing without quotation marks in the above code, but I do have it in quotes in the actual code.

推荐答案

尚未看到任何文档,但我认为它们不允许来自Web控件的链接来激活电话功能,例如搜索或在IE中打开.不过我可能是错的.
I haven't seen any documentation on it, but I don't think they allow links from a web control to activate phone functions, such as search or open in IE.  I may be wrong though.


这篇关于从WebBrowser控件中打开IE的新实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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