[Mono-list] shell does not work on Widnwos Vista

Stephen Liu satimis at yahoo.com
Tue Apr 27 07:10:59 EDT 2010


From: Jonathan Pobst <mon... at jpobst.com>
To: Stephen Liu <sati... at yahoo.com>
Cc: mono-list at lists.ximian.com
Sent: Tue, April 27, 2010 12:53:08 AM
Subject: Re: [Mono-list] shell does not work on Widnwos Vista

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.


Hi Jonathan,

Sorry your advice can't work here.


Tried follows on my small program;

Process.Start ("http://www.mono-project.com";); -> Run
ProcessStart ("http://www.mono-project.com";); -> Run
Process.Start ("http://www.mono-project.com"); -> Run


On mono Command Prompt, also didn't work.


On Windows Vista, create a shortcut of IE and rename it as;

\Users\satimis\iexplore.lnk


iexplore.lnk works on "Command Prompt" window but didn't work on "mono Command Prompt" nor on my small program.


Stephen L




More information about the Mono-list mailing list