ProcessStartInfo.WindowStyle c#
<p>I use the following to start one of my applications</p>

<pre><code> // Start the process
 ProcessStartInfo startInfo = new ProcessStartInfo(this.exeName);

 startInfo.WindowStyle = ProcessWindowStyle.Minimized;

 controlProcess = System.Diagnostics.Process.Start(startInfo);
</code></pre>

<p>The behavior that I see is that if there are no items in my task bar, the above starts my standalone application, by using the property this.exeName to get the path of the application, and the standalone application is seen on the task bar.</p>

<p>If my taskbar has only a few items, the above situation does not happen and my stand alone application is only known when i find it in the task manager, which is what i want and not the scenario described in the above para.</p>

<p>Essentially, I want to start an application and keep it running without displaying its UI, more like pre-load the application, and when user clicks on certain actions, bring the application to focus and enable it so that the user can perform actions</p>

<p>My sample code is from here, to see if this is a feasible solution for my own experimental project</p>

<p><a href="http://www.codeproject.com/KB/miscctrl/AppControl.aspx" rel="nofollow">link text</a></p>
