[Mono-list] shell does not work on Widnwos Vista
Jonathan Pobst
monkey at jpobst.com
Mon Apr 26 12:53:08 EDT 2010
On 4/26/2010 11:39 AM, Stephen Liu wrote:
> However it can't work on Vista.
>
> Start -> Mono 2.6.3 for Windows -> Mono-2.6.3 Command Prompt
>
> C>mono \path\to\shell.exe
>
> Starts the small window -> on top box, type "firefox www.mono-project.com" (without quote) ->
> The said small window closes. Following are the output on mono-2.6.3 command prompt
'firefox' is not a program on Windows. You will have to find where
firefox.exe is on the target machine, and then use the full path to it.
- Or -
If you just want to open a web page in the user's default browser, use:
Process.Start ("http://www.mono-project.com");
This will work on every system.
Jonathan
More information about the Mono-list
mailing list