How to call .exe within WPF application
<p>How to run one WPF exe (which is in 3.5 framework) from another WPF application (4.0 application).</p>

<p>Reason of the above is:<br>
I'm using some third party which only support 3.5 framework and my existing application is on 4.0. I can't change my current application target type b'coz it has around 200 projects that I need to change then. </p>

<p>I'm stuck with this problem, also I need to pass string as an argument in that.</p>

<p>Below was code that I tried, but didn't get any luck with that:  </p>

<pre><code>var processInfo = new ProcessStartInfo(path, param);
 Process.Start(processInfo);
</code></pre>

<p>EDIT: 
I changed the path and it works for me. But now the problem is I'm not able to get the Command-line argument in the .exe application. Like Currently I'm passing the "param" (it is a string type of array) as an argument to my .exe. But can anyone please help me that how to get this parameter in the .exe file. Means in the window.Loaded handler I want to get this parameter and based on that I want to perform some action.</p>
