title: Make minimized/system tray application gui visible from c#
body: <p>I have a windows form application that opens another vendor's application.  If the vendor's application is not running, my code opens it and it becomes visible as expected.  However, if the vendor's application is already running minimized or in the system tray, I can't make it visible when I call <code>Process.Start()</code>.   Is there a way to make a currently running application visible/shown whether if it is minimized or in the system tray?     </p>
  
  <p>This is my code to open the other application which only works if the <code>VendorProgram.exe</code> is not running.  If <code>VendorProgram.exe</code> is running but minimized it doesn't make it visible/shown, which is what I need.</p>
  
  <pre><code>ProcessStartInfo startInfo = new ProcessStartInfo();
  startInfo.CreateNoWindow = false;
  startInfo.UseShellExecute = false;
  startInfo.FileName = "C:\\Program Files (x86)\\VendorProgram.exe";
  startInfo.WindowStyle = ProcessWindowStyle.Normal;
  
  
  Process p = Process.Start(startInfo);
  </code></pre>
  
  <p>EDIT: In case it isn't clear, I am not trying to make an application open itself, I am trying to open a separate vendor's application from my application.</p>