Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00539706
Message ID:
00539818
Vues:
16
>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'?
>
>Thanks

If you want to run prg or app than following should work
 cProgramName = "SomeProgram"
=ShellExecute(hWnd, 'open', cAppName, cProgramName, '', 5)
You can also take a look at file#9508.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform