Lancer un exécutable sur c#
Résolu/Fermé
A voir également:
- Lancer un exécutable sur c#
- Antimalware service executable ram - Forum antivirus
- Ce programme est écrit en python. il construit un mot secret dans une variable mais il ne l'affiche pas. modifiez-le pour qu'il affiche le mot secret. exécutez-le. quel est ce mot secret ? ✓ - Forum Python
- Lancer un programme au demarrage - Guide
- Lancer un executable linux ✓ - Forum Linux / Unix
- Fichier executable unix ✓ - Forum MacOS
2 réponses
Lust
Messages postés
243
Date d'inscription
mercredi 28 septembre 2005
Statut
Membre
Dernière intervention
12 septembre 2007
123
22 nov. 2006 à 09:44
22 nov. 2006 à 09:44
pardon, c'est plutot ca :
System.Diagnostics.ProcessStartInfo myInfo =
new System.Diagnostics.ProcessStartInfo();
myInfo.FileName = "MonAppli.exe";
myInfo.WorkingDirectory = "MonRepertoire";
System.Diagnostics.Process.Start(myInfo);
Lust
Messages postés
243
Date d'inscription
mercredi 28 septembre 2005
Statut
Membre
Dernière intervention
12 septembre 2007
123
21 nov. 2006 à 18:35
21 nov. 2006 à 18:35
System.Diagnostics.ProcessStartInfo myInfo =
new System.Diagnostics.ProcessStartInfo();
myInfo.FileName = "MonAppli.exe";
myInfo.WorkingDirectory = "MonRepertoire";
System.Diagnostics.Process.Start("MonAppli.exe");
Salut et merci pour le tuyau. J'ai pas bien compris dans ton code à quel moment tu lance myInfo, alors j'ai plutôt essayé:
Process myInfo = new Process();
myInfo.StartInfo.FileName = "MonAppli.exe";
myInfo.StartInfo.WorkingDirectory = "Repertoire";
myInfo.Start();
Je sais pas si c'est sensé faire la même chose, sinon merci de me donner la différence. Merci encore.
Process myInfo = new Process();
myInfo.StartInfo.FileName = "MonAppli.exe";
myInfo.StartInfo.WorkingDirectory = "Repertoire";
myInfo.Start();
Je sais pas si c'est sensé faire la même chose, sinon merci de me donner la différence. Merci encore.
7 avril 2013 à 16:57
3 août 2014 à 17:21