Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I know if it a EXE that runnning?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00204175
Message ID:
00204211
Vues:
22
>>>I like to find a way to know if I am running a APP or EXE.
>>>Is there a SYS() function that I can use to know?
>>
>>FULLPATH(SYS(16,0)) will tell you the full name of the module run at the top level If it's an app as opposed to an .EXE, you should be able to tell.
>
>Thank you ED, This is a good way to know what file is running but I like to know if the application is run from VFP as a APP or EXE or as a stand alone EXE.
>
>Do you know a way?

How about VERSION(2)? If you're running as a stand-alone EXE it'll return 0.

hth,
George

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

Click here to load this message in the networking platform