I want to write to applications:
App A - a console application using C#
App B - windows form application using C#
How can I use App B to execute App A?
Thanks!
I want to write to applications:
App A - a console application using C#
App B - windows form application using C#
How can I use App B to execute App A?
Thanks!
I guess you want to open the console app with a button on your winforms app. Place this code into the Button_Click method (or whatever your method is called):
Process.Start(programPath);
Replace programPath
with the path to your .exe file of the console app. Also make sure that you place following using statement at the beginning of your code:
using System.Diagnostics;