Let's say I wanted to simulate pressing the right arrow key. What would be the code for this? Or, the code in general?
Printable View
Let's say I wanted to simulate pressing the right arrow key. What would be the code for this? Or, the code in general?
In your own app, or in a different app?
In my own.
Is it just
Sendkeys "vbkeyRight"
Or something like that..
Pretty much (actually its {RIGHT}), but here is the whole sendkeys reference:
http://msdn2.microsoft.com/en-us/lib....sendkeys.aspx
SendKeys {RIGHT} doesn't work.
Read the link, but its SendKeys.Send("{RIGHT}")