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 SinghRank #1,323 · 1.3K reputationPosted Nov 23, 2014, 8:59 PM EST
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();