Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE Version, agetfileversion....
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01102748
Message ID:
01102750
Vues:
23
John,
SYS(16, 0)
Using that will give you the name and path of the currently executing application. It only works when run from an exe, so I usually do it like this:
	*JCJB*	Get the Build Number from the exe.
	IF AGETFILEVERSION(laVer, SYS(16, 0)) > 4
		this.TMcExeVersion = laVer[4]
	ELSE
		this.TMcExeVersion = 'In Development'
	ENDIF
HTH,
Chad


>Hi all, i just need to put the version number of my exe file, but i don't know how to locate the exe to target it. Some users has the exe in c:\myapp, other in f:\share\myapp and others i really don't know. There is a way to know where my exe is executing from?
>
>TIA.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform