I need to send up and down arrow keys to another app with VB. Activating that app, using SendKeys, the REactivating my app is working, but it's not all that reliable.
I've gotten both SendMessage and PostMessage to work but as with SendKeys the receiving app has to be active. The activating is what I'm thinking might be the problem. I saw mention of a SendString and SendInput APIs but it seems they both need to have the receiving app have the focus as well, which kind of makes sense.
Is there another method that might simulate an arrow key without the receiving app having the focus? And/or does anyone know if using SendMessage might be more reliable than SendKeys?
Thanks!
Ken

