title: How can I run an exe within a form?
body: <p>I've searched all over and incorporated this into my code:</p>
  
  <pre><code>Process process = new Process();
  
  process.StartInfo.FileName = exePath; //this is a valid path
  process.Start();
  Thread.Sleep(500);
  process.WaitForInputIdle();
  SetParent(process.MainWindowHandle, this.Handle);
  </code></pre>
  
  <p>However it starts the program normally in its own window and not inside my main form.</p>