Anil
Wed Jul 16 07:31:28 CDT 2008
Oh sure, confuse me even more...:-)
But which one is better?
--
Anil Gupte
www.keeninc.net
www.icinema.com
www.wizo.tv
"kimiraikkonen" <kimiraikkonen85@gmail.com> wrote in message
news:1b2c7d23-111c-4b5d-8f00-a5f2cd1c04ae@e39g2000hsf.googlegroups.com...
On Jul 15, 12:12 pm, "Anil Gupte/iCinema.com" <anil-l...@icinema.com>
wrote:
> Sorry reposting for clarity...
>
> Which one is better? This:
>
> System.Diagnostics.Process.Start(URL)
>
> or this?
>
> Dim psi As New ProcessStartInfo()
> psi.UseShellExecute = True
> psi.FileName = URL
> Process.Start(psi)
>
> And why?
>
> Regards,
>
> --
> Anil Guptewww.keeninc.netwww.icinema.comwww.wizo.tv
There's also another option:
Shell("explorer.exe
http://www.google.com")
' Also
BTW, when you use "ProcessStartInfo" class, you're allowed to define
how your process will be launched. See members of that class using
IntelliSense.
Hope this helps,
Onur Güzel