C# .NET - running Console Based Application on Button Click...which is start n Dispose on click

Asked By Varun Phadke on 29-Jun-12 07:38 AM
Lalit M replied to Varun Phadke on 29-Jun-12 07:49 AM
check this link
----------
http://stackoverflow.com/questions/1275403/run-a-console-application-from-a-windows-form
Jitendra Faye replied to Varun Phadke on 29-Jun-12 08:11 AM
For this make exe of the console application and , use this code to run -

private void button1_Click(object sender, EventArgs e)
      {      
             Process.Start("myexe.exe");
          }

Try this and let me know.