[C#] Batch file output in GUI

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

  • DimitryK
  • Registratie: Maart 2009
  • Laatst online: 28-04 16:34
Heeft er iemand een tutorial voor mij, of zou iemand mij eventueel hier kunnen uitleggen hoe ik de output van een batch file kan weergeven in C#. Dus dat alles wat geprint wordt in de console, nu in bijv. een textbox wordt geprint.

Bij voorbaat dank.

Acties:
  • 0 Henk 'm!

  • Snake
  • Registratie: Juli 2005
  • Laatst online: 07-03-2024

Snake

Los Angeles, CA, USA

Je kan met System.Diagnostics.Process een process starten en de in en output stream redirecten:

http://msdn.microsoft.com...ocess.standardoutput.aspx

Going for adventure, lots of sun and a convertible! | GMT-8