Mega Code Archive

 
Categories / C# Tutorial / Development
 

Uses the ProcessStartInfo class to start new processes, both in a minimized mode

using System; using System.Diagnostics; using System.ComponentModel; class MyProcess {         static void Main()    {                          ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");             startInfo.WindowStyle = ProcessWindowStyle.Minimized;                          Process.Start(startInfo);                          startInfo.Arguments = "www.rntsoft.com";                          Process.Start(startInfo);    } }