Comment cacher une console window ?
Bonjour,
J'aimerais cacher une console window execute depuis mon code.
Cette console window est un executable de console application.
J'utilise la librairie de System.Diagnostics.Process mais pour le moment j'ai echoue :
Code:
1 2 3 4 5 6
|
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.Arguments = pathUrl;
process.StartInfo.FileName = "C:\\Work\\Internet explorer doco plugin\\IEAddin VS2008\\SaveAsWebPage\\bin\\Debug\\SaveAsWebPage.exe";
process.Start();
process.StartInfo.CreateNoWindow = true; |
Merci !