Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to tell if its a VFP EXE?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00175871
Message ID:
00176375
Vues:
30
Hi Issac,

>I have an app allows the user to schedule an app to run. I allow the user to select the file to run with GetFile(). Does anyone know of a way to make sure the file selected (I only allow selection of "app" or "exe") is a VFP app?

Try

SET PROCEDURE TO bla.EXE ADDITIVE

If it returns an error, it's not a VFP exe. It will also tell you whether it's a VFP exe, but compiled in the wrong version.


Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform