>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.
The ocx in question is in the files/classes section.
Click files then select the classes and search for "BOUT" and you'll eventually come to it.
Regards
Bernard Bout