Unknown Error on Process.start
Posted on 2006-06-28
I am getting an Unknown Error message when calling process.start. My code is below. I have copy and pasted the filename into the Run prompt and IE does launch so I know that is valid, I have also pasted from the clipboard into the address bar and the URL is valid.
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.EnableRaisingEvents = false;
process.StartInfo.FileName = @"C:\Program Files\Internet Explorer\iexplore.exe";
process.StartInfo.Arguments = url;
I do have a try/catch around the code, and there is no inner exception. The error message I get is "Unknown error 0xffffffff". This is running in a desktop app, and used to work. I don't know what has changed on the computer in the last 3 months to make it not work, but the code did not change.