views:

393

answers:

2

in vb.net i want to do a sendkeys for the down arrow. what is the code?

+3  A: 

While I won't question why, you can see this article on MSDN says you send "{DOWN}"

Specifically:

SendKeys.Send("{DOWN}")
Marc
+4  A: 
' make sure you have this at the top:
Imports System.Windows.Forms.SendKeys


' and then you can use this:
SendKeys.Send("{DOWN}")

Go here for more examples and detailed information about SendKeys in VB.Net http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys%28VS.71%29.aspx

mschmidt42