 <p>You can use <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send.aspx" rel="nofollow noreferrer">SendKeys</a>.</p> <p>Please check <a href="http://www.codeproject.com/KB/cs/SendKeys.aspx" rel="nofollow noreferrer"><strong>this CodeProject tutorial</strong></a> for detailed How To.</p> <p><img src="http://www.codeproject.com/KB/cs/SendKeys/SendKeys.jpg" alt="alt text"></p>