Try System.Diagnostics.Process.Start("iexplore http://www.microsoft.com");
-----Original Message----- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Adair Sent: Sunday, October 06, 2002 8:57 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Can't use Process.Start from a WinForms app. launched via http?? 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. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.