Home All Groups Group Topic Archive Search About

File not found error on Process.start

Author
1 May 2007 3:39 PM
Jerry Spence1
I am trying to launch a web page as follows:

Dim psInfo As New
System.Diagnostics.ProcessStartInfo("http://192.168.0.101")
psInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized
Dim myProcess As Process = System.Diagnostics.Process.Start(psInfo)

The IP Address is actually an IP camera.

It does actually work OK - I get the web page up, but I sometimes get the
error: "The system can not find the file specified". The strange thing is
that I don't always get the error. I haven't specified iexplorer.exe as the
target as that might not be the default browser on the customer's site.

-Jerry

Author
2 May 2007 2:02 AM
Newbie Coder
Jerry,

Just do:

System.Diagnostics.Process.Start(http://192.168.0.1)

--
Newbie Coder
(It's just a name)

Show quoteHide quote
"Jerry Spence1" <jerry.spe***@somewhere.com> wrote in message
news:46375f4b$0$8713$ed2619ec@ptn-nntp-reader02.plus.net...
> I am trying to launch a web page as follows:
>
> Dim psInfo As New
> System.Diagnostics.ProcessStartInfo("http://192.168.0.101")
> psInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized
> Dim myProcess As Process = System.Diagnostics.Process.Start(psInfo)
>
> The IP Address is actually an IP camera.
>
> It does actually work OK - I get the web page up, but I sometimes get the
> error: "The system can not find the file specified". The strange thing is
> that I don't always get the error. I haven't specified iexplorer.exe as
the
> target as that might not be the default browser on the customer's site.
>
> -Jerry
>
>
>
>