I don't know if it would work, but you can try to do this with WSH.
oShell = Createobject("wscript.shell")
oShell.AppActivate("...")
oShell.SendKeys("...")
For the list of keys see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthsendkeys.asp.
You can also use Win API but it requires much more coding.
>example :
>
>i have windows title "Signon to AS/400" where USER ID and Password it's must be entry by default user,
>
>question :
>
>can i send key from my app to that window title so i can send user id and password?
>
>thank's for advice
>
>
>regard
>
>wahyu
--sb--