Hi all here,
I have a doubt, that as How to call an exe from web application?. (exe is used for some specific purpose, for example generates and returns random numbers), So can we call and get returned values from exe?. if yes then could you please tell me the Procedure to do it.
Thanks
Pitchaiyan c
Rahul SinghPosted Nov 24, 2014, 1:59 AM
You can do something like this on a button click or whatever event you want to bind:-
Process p = new Process();
p.StartInfo.FileName = "Yourfile.exe";
p.StartInfo.Arguments = String.Format(-- Your params--);
p.Start();