启动浏览器 [英] Launching a browser

查看:85
本文介绍了启动浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是命令(在Windows窗体VB.NET中)将导致

主题计算机的默认浏览器启动,并显示指定的

Web页面?

-

Alan M Dunsmuir

解决方案




Process.Start( Http://msdn.microsoft.com


Ken

-----------------------

" Alan M Dunsmuir" <人** @ moonrake.demon.co.uk>在留言中写道

新闻:g4 ************** @ moonrake.demon.co.uk ...

什么是命令(在Windows窗体VB.NET中)将导致

主题计算机的默认浏览器启动,并显示指定的

网页?

-

Alan M Dunsmuir


" Alan M Dunsmuir" <人** @ moonrake.demon.co.uk> schrieb:

什么是命令(在Windows窗体VB.NET中),它将导致主题计算机的默认浏览器启动,并显示指定的网页?



打开文件,应用程序,Web文档和邮件客户端

< URL:http://dotnet.mvps.org/dotnet/faqs /?id = openfileappwebpage& lang = en>


-

MS Herfried K. Wagner

MVP< URL: http://dotnet.mvps.org/>

VB< URL:http://dotnet.mvps.org/dotnet/faqs/>


我看了这个链接。


Shell(http://www.yahoo.com/")


对我不起作用。例外来自

''System.IO.FileNotFoundException'':找不到文件。


我不喜欢什么


Process.Start(psi)


是一个新的IE窗口没有启动,任何现有的IE窗口都是

高位。有没有办法启动默认的

浏览器的新窗口并指向一个URL?


谢谢......

周六,2004年12月25日13:03:18 +0100,Herfried K. Wagner [MVP]

< hi ************* **@gmx.at>写道:


< snip>


打开文件,应用程序,Web文档和邮件客户端
< URL:http://dotnet.mvps.org/dotnet/faqs/? id = openfileappwebpage& lang = en>



What is the command (in Windows Forms VB.NET) which will cause the
subject computer''s default browser to launch, and display a specified
Web page?
--
Alan M Dunsmuir

解决方案

Hi,

Process.Start(Http://msdn.microsoft.com)

Ken
-----------------------
"Alan M Dunsmuir" <al**@moonrake.demon.co.uk> wrote in message
news:g4**************@moonrake.demon.co.uk...
What is the command (in Windows Forms VB.NET) which will cause the
subject computer''s default browser to launch, and display a specified
Web page?
--
Alan M Dunsmuir


"Alan M Dunsmuir" <al**@moonrake.demon.co.uk> schrieb:

What is the command (in Windows Forms VB.NET) which will cause the subject
computer''s default browser to launch, and display a specified Web page?



Opening files, applications, Web documents, and the mail client
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=openfileappwebpage&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


I read the link.

Shell("http://www.yahoo.com/")

Doesn''t work for me. Exception from
''System.IO.FileNotFoundException'' : File not found.

What I don''t like about

Process.Start(psi)

is that a new IE window is not launched, any existing IE window is
high jacked. Is there a way to launch a new window of the default
browser and point to a URL?

Thanks...
On Sat, 25 Dec 2004 13:03:18 +0100, "Herfried K. Wagner [MVP]"
<hi***************@gmx.at> wrote:

< snip >


Opening files, applications, Web documents, and the mail client
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=openfileappwebpage&lang=en>



这篇关于启动浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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