Does anybody know how to send keys to the system? like send the WinKey + D combination for minimize to desktop, Ctrl+Z for undo, etc.
I've tried fiddling with SetKeyboardState API but no go...if there is a .NET framework way then hurrah!
TIA
-C
Printable View
Does anybody know how to send keys to the system? like send the WinKey + D combination for minimize to desktop, Ctrl+Z for undo, etc.
I've tried fiddling with SetKeyboardState API but no go...if there is a .NET framework way then hurrah!
TIA
-C
Hi,
I'm very new to .NET Infact its my first day.
But please tell me can we use "sendkeys" here just same as we use in VB6.0
For eg. for sendijng CRTL and Z
SendKeys "^Z" '^ is the character to send the CTRL key
Anyone pls explain...
According to my research SendKeys.Send("^Z") should do the trick. Does that work for you?