We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to sendkeys to active application

I want send a keystroke to another application not windows forms, how can i do it? Thanks

1 Reply

JK Joy K George Syncfusion Team June 7, 2006 05:14 AM UTC

Hi Jack, You could use the below method.This will send keystrokes to the active appliaction. System.Diagnostics.Process.Start("notepad.exe"); SendKeys.Send("Hello");//this will send "Hello" to notepad. Regards, Joy

Loader.
Live Chat Icon For mobile
Up arrow icon