C# sendkeys to other application to particular textfield
I need to sendkeys to other application to particular textfield in other application using C#. Is that possible? If yes, can anyone give me sample code? Cody Gray SendKeys only sends the keystroke combinations to the active window . So if your C# application calls the SendKeys function at precisely the right time, when the user has that other application's textbox focused, everything will work just fine. The problem, of course, is that the real world is rarely this perfect. You don't know exactly when the user will have the other application focused, and certainly won't know if they've clicked