tags:

views:

47

answers:

1

i was wondering how to send spacebar key using SendKeys.send() ; it works with the other keys but onley the spacebar !!
here is the link where i found the other keys http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx

+2  A: 

Per the documentation you linked, SendKeys.send(" "); will send a space key.

The only keys which require special codes are "characters that aren't displayed when you press a key".

hemp
thanx a lot it works
seddik