Create a Windows C# App that can open up applications
<p>I recently had this idea to create a C# Windows Form App that enables a user to launch applications from there. This is my 'raw' code:</p>

<p>Button1 Click Event...</p>

<pre><code>{                     

 System.Diagnostics.Process.Start("WINWORD.EXE");

} 
</code></pre>

<p>Button2 Click Event...</p>

<pre><code>{

System.Diagnostics.Process.Start("WINRAR.EXE");

}
</code></pre>

<p>.
.
.
.
.
.</p>

<p>and many more ...</p>

<p>Can anyone please tell me what the code is in case that handles the event in case that an application cannot be found(ex. WINWORD.EXE is not available blah, blah blah)?</p>

<p>I tried using the 'if-statement' but to no avail, I get compilation errors. </p>

<p>Can someone help me out? How can I create a function that lets the user add some application shortcut to the C# app?</p>

<p>Thanks to everyone in advance.</p>
