打开一个超链接
System.Diagnostics.Process.Start("http://www.google.com");
<script type="text/javascript" filtered="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
这样会占用现有的窗口,能不能让IE新开一个窗口?
我们只要把代码改成:
System.Diagnostics.Process.Start("iexplore.exe","http://www.google.com");
就OK了.
本文介绍了一种使用C#代码在Internet Explorer中打开新窗口的方法,而非仅在现有浏览器窗口中打开链接。
971

被折叠的 条评论
为什么被折叠?



