Quelques mots de remerciements seront grandement appréciés. Ajouter un commentaire
121 internautes nous ont dit merci ce mois-ci
@echo off ping localhost > NUL echo ^<html^> > %4 echo Résulat = >> %4 type %2 | findstr /I toto >> %4 echo ^</html^> >> %4
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.IO; namespace LaunchApp2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Process p = new Process(); p.StartInfo.FileName = "nipper"; p.StartInfo.Arguments = "-input config.txt -output out.html"; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; p.Start(); p.WaitForExit(); MessageBox.Show("Exécution terminée, affichage du résultat..."); webBrowser1.Navigate("file:///" + Directory.GetCurrentDirectory().Replace("\", "/") + "/out.html", false); } } }
Quelques mots de remerciements seront grandement appréciés. Ajouter un commentaire
121 internautes nous ont dit merci ce mois-ci
il ne fonctionne pas !!!
Process p = new Process(); p.StartInfo.FileName = "nipper"; p.StartInfo.Arguments = "-input config.txt -output out.html"; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; p.Start(); p.WaitForExit(); MessageBox.Show("Exécution terminée, affichage du résultat..."); webBrowser1.Navigate("file:///" + Directory.GetCurrentDirectory().Replace("\", "/") + "/out.html", false);
Quelques mots de remerciements seront grandement appréciés. Ajouter un commentaire
121 internautes nous ont dit merci ce mois-ci
Les membres obtiennent plus de réponses que les utilisateurs anonymes.
Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.
Le fait d'être membre vous permet d'avoir des options supplémentaires.