Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing another application
Message
De
01/03/2000 14:22:57
 
 
À
01/03/2000 13:21:26
Michael Vaccarello
Insurance Data Processing, Inc.
Wyncote, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00339946
Message ID:
00339998
Vues:
26
>I would ilke to execute another application (not using the RUN command) from withing Visual FoxPro. Is there an API, or something, that will do that for me? My EXE needs another program running to work and I want to make sure it is running simultaneously.

If you don't need to wait for the program to finish running, you can just use shellExecute to do this:

DECLARE Long ShellExecute IN Shell32.dll Long, String, String, String, String, Long
?ShellExecute(0,"open","c:\myprogram.exe","","",0)
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform