Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Does VFP have an equivalent to VB's "SendKeys" command?
Does anyone know if VFP can control another Windows application by sending keystrokes to it? I cannot use DDE or OLE to drive the other Windows app. I simply want to use that app to do a few unique file functions for my VFP program.
I have seen how a VB application uses the "SendKeys" command to send keystrokes to the other app. I have tried VFP's "Keyboard" command but it only sends characters to the VFP program that is running. Is there some Win API calls that I can make in VFP to do this small job?
Jon Sharp
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement