System.Diagnostics.Process hide process's console window
-
In my program I am opening another program (a console application) with System.Diagnostics.Process.Start. How do I hide the console window? Or if I can't do that in that program (A c# console application) how do I hide the console window?
-
In my program I am opening another program (a console application) with System.Diagnostics.Process.Start. How do I hide the console window? Or if I can't do that in that program (A c# console application) how do I hide the console window?
Someone asked that last week, try searching for it.
-
In my program I am opening another program (a console application) with System.Diagnostics.Process.Start. How do I hide the console window? Or if I can't do that in that program (A c# console application) how do I hide the console window?
-
Hi Guy very easy man Process process = new Process(); ProcessStartInfo pStartInfo = new ProcessStartInfo("Your file Name"); pStartInfo.WindowStyle = ProcessWindowStyle.Hidden; process.StartInfo = pStartInfo; process.Start(); Thanks
Cheers RRave MCTS,MCPD
Thanks so much. Works like a charm :) -Brandy
-
Thanks so much. Works like a charm :) -Brandy