473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

File not found error on Process.start

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


May 1 '07 #1
1 3412
Jerry,

Just do:

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

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

"Jerry Spence1" <je**********@somewhere.comwrote in message
news:46**********************@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


May 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: o'seally | last post by:
solaris/linux admins/rookie_developers that battle with this error are probably all frustrated when it happens. i bet you're also somehow frustrated by this seemingly unsolvable error :-) ...take...
13
by: darkhorse | last post by:
Hi all, While doing a quite big "set of programs" for a university subject I've found myself in the middle of a problem someone surely has had before, so I'm looking for some help. At one...
1
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
5
by: jiangyh | last post by:
hi there: I use following source to fire outlook express,but I have a file not found error. System.ComponentModel.Win32Exception: File not found ...
4
by: Enterprise Andy | last post by:
Hi, I am trying to use the Process object to launch an application (and in some cases open a file), however whenever there are any spaces in process FileName or Arguments I get an error stating...
2
by: Roger Twomey | last post by:
I am working on a filewatcher application. The premis is: User uploads an xml file onto the web server the filewatcher app sees the xml file filewatcher app reads the file and inserts...
5
by: sjoshi23 | last post by:
Hello I'm trying to start a remote desktop session using Process.Start but it keeps saying "File not found". The same cmd thru DOS window works fine. I used: C:\\WINDOWS\\system32\\mstsc.exe...
0
by: itshibu | last post by:
I tried to write a program that can open files from the server. But the shared folder in the Win2003 server is password protected. i tried the following code ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.