File not found error?

  • Thread starter Thread starter jiangyh
  • Start date Start date
J

jiangyh

hi there:

I use following source to fire outlook express,but I have a file not
found error.

System.ComponentModel.Win32Exception: File not found

System.Diagnostics.Process.Start(mailto:[email protected]);

How to resolve this.
Thanks a lot
 
I believe you want to start your client';s Outlook express from browser.

you can use hyperlink for the same
eg:
<a href=mailto:[email protected] > </a>

Regards,
Jignesh Desai
 
hi Jignesh Desai:

yes I want to start outlook express but I have a server button to fire
this event.so I need to use process object to start outlook at server side.

thanks a lot.
 
Do you want your user to get up from his computer and find his way to the
server to see the outlook open over there?

Eliyahu
 
hi Eliyahu Goldin:

yes I want.

Eliyahu Goldin said:
Do you want your user to get up from his computer and find his way to the
server to see the outlook open over there?

Eliyahu
 
The syntax mailto:[email protected] is good for openning a new empty
message on the client. It is used on client with an <a> element, as Jignesh
pointed out.

To call an exe with Process.Start you need to specify the path like
"%ProgramFiles%\Outlook Express\msimn.exe". That is provided you've taken
care of all security issues.

Eliyahu
 
Back
Top