Here I will post problems I and my colleagues met and solutions we found.

Monday, March 24, 2008

Emulating key pressing in .NET

I knew it should have been there. But somehow it didn't pop up in search no matter how I tried to find how to emulate key press in .NET.

So, to emulate key pressing in .NET just use System.Windows.Forms.SendKeys class. As simple as that.