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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to sendkeys to active application

Thread ID:





44895 Jun 6,2006 02:58 PM UTC Jun 7,2006 05:14 AM UTC WinForms 1
Tags: FAQ
Jack Kendy
Asked On June 6, 2006 02:58 PM UTC

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

Joy K George [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon