Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SENDKEYS
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00117024
Message ID:
00117094
Views:
15
>Is there a function in VFP 5 to send keystrokes to another application as is done in VB?? I know of a DLL that used to work in FPW2.6 but I need this type of function in VFP5
>
>Any ideas guys??
>
>Bernard
>
>Thanks to all those who answered my query on unique Invoice numbers!

I've never tried this, so it's a guess on my part, but the SendMessage() API call can be used to send WM_CHAR, WM_KEYUP, and WM_KEYDOWN messages to a specific window. This window, however, must have keyboard focus.

As I said, I've never tried this, so I don't know the particulars. I can, however, supply additional information (declarations, etc.) if you need it.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform