pass the arguments from web to windows

  • Thread starter Thread starter justin
  • Start date Start date
J

justin

Hi all,
I have created one web applicatication which contains button.When I
click the button
I want to pass arguments to windows application.Can I do it?Any one
please help me...
Regards justin
 
Hi,
How about this code:

string strArg = @" the arguments comes here";

process.StartInfo.Arguments = strArg;

process.StartInfo.UseShellExecute = false;

process.StartInfo.RedirectStandardOutput = true;

try

{

process.Start();

}

catch(Exception ex)

{

string str = ex.Source + ex.Message + ex.StackTrace;

}

Thanks and Regards,
Manish Bafna.
MCP and MCTS.
 
The simplest (or one of the simplest) way of communicating between
applications is via text files. One guy writes, another reads.
 
Back
Top