Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can an executable know its name?
Message
De
15/03/2005 12:26:42
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00995951
Message ID:
00995992
Vues:
21
Thanks a bunch to you, Cetin and Borislav. As soon as I saw your replies I thought "Oh that's right, how did I forget that?!".

Gary


>
lcExeName = _VFP.ServerName
>* Or
>lcExeName = SYS(16,0)
>
>
>>Where would I look at runtime to know the name of my VFP exe? What I want to do is provide the user with "about" info showing the name and version of the running exe. I assume I'll use agetfileversion() but I need to determine what the exe is called and located to use this. How does everyone else do this?
>>
>>I'm pretty sure I've done this in the past but for some reason I'm coming up blank. Thanks.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform