Executing another EXE from .NET

  • Thread starter Thread starter Kakkanattu
  • Start date Start date
K

Kakkanattu

Hi,
I have one C# .NET application(MainApp).
Also I have another windows application(only EXE available), which is
developed in some other language(not .NET)(let it be SecondApp). In the
SecondApp, it has(two textboxes) one username and password and one ok
button.

My requirement is that, from my MainApp, I need to pass the username
and password to the SecondApp and execute the Click event of Ok button.

Anyone of you please help me.

Thanks
RoBiN
 
Hi,
Thanks for the reply.
But how to pass the two arguments(username to one text box and password
to another) to another application?. Also I need to fire the ok button
Click event.
Thanks
RoBiN
 
Can you not use sendkeys to click the button? usually sending tabs or an
enter works pretty well to move to things like buttons.
 
Back
Top