1
Answer

click on a button in another application from my C# applicat

I want to click on a button in another application from my C# application ,
and I don't have the source code for the application that contains the button

let us say as an example ...can I use windows calculator from my application by clicking its buttons Programmatically
I am using c# and .NET
I think I must use windows api to do this
does anybody have any idea????

Answers (1)
-1
Amit Gupta

Amit Gupta

NA 16.5k 25.6k 7y
You can use SendKeys to send keystrokes to another application.
 
https://stackoverflow.com/questions/15292175/c-sharp-using-sendkey-function-to-send-a-key-to-another-application