When you run http://www.microsoft.com/ from the Run dialog, you're actually launching IEXPLORE - the dialog appears to know all about URLs and treat them specially. This may explain why it doesn't work, where cmd does (cmd is a real program).
I suspect that System.Diagnostics.Process.Start is working at a lower level than Start->Run. Have you tried launching a URL for something that is a program? The canonical example would appear to be: http://www.sellsbrothers.com/wahoo/wahoo.exe -- Ian Griffiths DevelopMentor ----- Original Message ----- From: "Dave Adair" <[EMAIL PROTECTED]> > More info: > > I CAN start other processes ok. For example, I can launch "cmd" and a DOS > window appears. So the problem appears not to be an issue with trusted > sites or full-trust on that site but appears to be specific to launching > Internet Explorer. > > So why doesn't this work when the app is launched from http: > > System.Diagnostics.Process.Start("http://www.microsoft.com"); > > but this does work: > > System.Diagnostics.Process.Start("cmd"); > > (BTW, if I try to open http://www.microsoft.com from the Start|Run dialog > of Windows that works also) > > This is the error I get when it does System.Diagnostics.Process.Start > ("http://www.microsoft.com"): > > System.ComponentModel.Win32Exception: The system cannot find the file > specified > at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo > startInfo) > at System.Diagnostics.Process.Start() > at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) > at System.Diagnostics.Process.Start(String fileName) > > Is there some other way to launch IE besides the way I'm trying to do it? > Or can someone tell me what I'm doing wrong? Thanks. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.