Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute Question
Message
De
03/08/2001 19:28:47
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00539706
Message ID:
00539707
Vues:
21
>I have:
>
>cAppName = "d:\program files\microsoft\visual studio\vfp98\vfp6.exe"
>
>DECLARE INTEGER ShellExecute IN SHELL32 ;
>INTEGER, STRING, STRING, STRING, STRING, INTEGER
>
>=ShellExecute(hWnd, 'open', cAppName, '', '', 5)
>
>
>How do I pass a command to VFP, such as 'DO SomeProgram'?

Are you trying to automate VFP like we might automate Word? Or do you just want to be able execute a variable program? If the latter, why not have a VFP.EXE that takes a PARAMETER of the PRG (FXP or you have to COMPILE) to do?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform