>I am trying to send keystrokes to Lotus Notes from a FoxPro application to change the location document in Notes. I know how to find the window handle that I need, but I can't figure out how to 'SendKeys' from fox. I have tried SendMessage but either that is the wrong api or I don't know what I am doing.
You might try the WSH - the WSH 2.0 has a SendKeys method in Wscript.Shell, and an AppActivate that will locate and bring to top other running applications.