Kai Hung

Kai Hung

  • NA
  • 18
  • 0

running console apps programatically in c#

Dec 9 2008 4:43 AM

Process processes = Process.Start("ConsoleApplication1");

Thread.Sleep(3000);

processes.Kill();

The code above shows how to run apps/.exe programatically and it works fine. My real problem is, i want this process NOT to appear in the Taskbar. Or if its not possible at least minimize the window automatically upon running the Main App.

(Its like those services on windows, u see a lot of processes going on your task manager but its not really on you taskbar)

Thanks,


Answers (1)