Hi Mark,
I haven't used it, but there is a control in the file section here that does this. It's listed as "Send Keystrokes to any windows App".
>Does anybody know the correct syntax in VFP to declare and call
>the "keybd_event" API function?
>
>I'm running an external application which when it runs presents the user with a Yes and No button, with the Yes button set as the default. I am trying to automate the execution of this external function as much as possible and want to programmatically press the Enter key to trigger the Yes button and conclude the process.
kenweber
GCom2 Solutions
Microsoft Certified Professional