B
bill
i'm using VS2005, VB.NET windows forms application
when I try to open a web page using process.start, i get an error:
"application not found"
I'm using this syntax:
System.Diagnostics.Process.Start("http://www.microsoft.com/")
It works if I do it like this (thank you HKW), but what if the user doesn't
use IE, but uses some other browser?
Dim psi As New ProcessStartInfo()
With psi
.FileName = "iexplore"
.Arguments = "-new http://dotnet.mvps.org/"
End With
Process.Start(psi)
Thanks
Bill
when I try to open a web page using process.start, i get an error:
"application not found"
I'm using this syntax:
System.Diagnostics.Process.Start("http://www.microsoft.com/")
It works if I do it like this (thank you HKW), but what if the user doesn't
use IE, but uses some other browser?
Dim psi As New ProcessStartInfo()
With psi
.FileName = "iexplore"
.Arguments = "-new http://dotnet.mvps.org/"
End With
Process.Start(psi)
Thanks
Bill