Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute Question
Message
 
À
04/08/2001 14:14:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00539706
Message ID:
00539817
Vues:
26
>Do this instead:
>cApp='d:\foldername\prgname.prg'
>
>Then run Shellexecute(). This will automatically cause Windows to run the cApp using VFP as long as '.prg' is a registered VFP extension.

Just one warning.
In Vfp6, when you would doubleclick on a PRG in the Windows Explorer, it would run the PRG in VFP6.
But in VFP7, it will open the PRG using MODI COMM so that you can edit it.
When the PRG is compiled, you will find a FXP file. When you doubleclick on that file, it will be executed, regardless of version 6 or 7 of VFP.

Regards,
Frank Camp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform