title: How to run a C# application at Windows startup?
body: <p>I made an application that launches during startup, with the next code below.<br>
  The process runs on the process manager tool after the restart, but I can't see
  the application on the screen.
  When I open the same .exe file from the startup registry value the program runs perfect.</p>
  
  <pre><code>// The path to the key where Windows looks for startup applications
  RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
  
  // Add the value in the registry so that the application runs at startup
  rkApp.SetValue("MyApp", Application.ExecutablePath.ToString());
  </code></pre>
  
  <p>What can I do to fix it up?</p>