bjr j'ai un programme qui execute une commande :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents=false;
string fic_Xml = Server.MapPath("\\Donnees.xml");
string fic_Xsl = Server.MapPath("\\Feuille.xsl");
string fic_Res_Pdf = Server.MapPath("\\resultat.pdf");
string chemin = "-xml \""+fic_Xml+"\" -xsl \""+fic_Xsl+"\" -pdf \""+fic_Res_Pdf+"\"";
proc.StartInfo.FileName = Server.MapPath("\\fop-0.95beta\\FOP");
proc.StartInfo.Arguments = chemin;
proc.Start() ;
proc.WaitForExit() ;
proc.Close();

comment rendre la fenetre de l'execution invisible..
Merci