Actually, .NET provides the System.Windows.Forms.SendKeys class. However, it may not always work. If you want to ensure your keystrokes will always play, you may want to get my latest book, Debugging Applications for Microsoft .NET and Microsoft Windows. In there, I developed a pretty nice key and mouse stroke recording and playback application called Tester. You can use the Tester.DLL COM object to do the playback for your application.
Dig Deeper on Win Development Resources
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.