Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00544695
Message ID:
00544723
Vues:
16
>Hello all,
>
>I try to run files from VFP, but the RUN command only allows me to run programs, but not for example TXT or DOC files.
>I need to do this without automation, because these can be any files. I also do not want to use the Windows scripting host. Is there an API or any other command in VFP to run files with their associated programs?

There's also the _ShellExecute class in the _Environ.vcx class library that you'll find in the FFC folder directly beneath VFP. Further, the Windows Script Host's WScript.Shell object's Run method can do this and wait for the called application to close as well.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform