Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does VFP have an equivalent to VB's
Message
 
À
10/06/1996 02:09:33
Jon Sharp
Leura Technologies Pty. Ltd
Sydney, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00002140
Message ID:
00002141
Vues:
35
>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

Remember, there is no such thing as a small job on a PC! <s>

Seriously, there is the RUN command but other then that your looking at a project! Yes you can use the API but now your talking about writing messages to the Windows/App messaging loop. I don't know of any 'easy' way -- wish I did, I would use it myself!

If you find something please let me know.

Thanks
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform