SendKeys does not work, but it appears the API function SendInput does.

If you're in VB6, copy/paste this code into a module:

Private Type KEYBDINPUT
wVk As Integer
wScan ...