Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can an executable know its name?
Message
 
 
À
15/03/2005 10:45:22
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:
00995953
Vues:
27
This message has been marked as the solution to the initial question of the thread.
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.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform