Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jim [Codecharmer] Frankland
  Where is Jim [Codecharmer] Frankland?
 Omaha
 Nebraska - United States
 Jim [Codecharmer] Frankland
 To: Paul Brown
  
 York
 
 Paul Brown
 Tags
Subject: RE: How do I get the current application version?
Thread ID: 28301 Message ID: 35117 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Projects and Design
Date: Tuesday, December 30, 2003 6:05:56 AM         
   


Quite the delayed response, but I was looking for the same thing and was googled to this thread...

Because the user might change the EXE name, I did the following...

PRIVATE mv_vers[15]
=AGETVERSION(mv_vers,SYS(16,0))
? mv_vers[11]

Jim ô¿ô


> Use SYS(5) + SYS(2003) + your EXE name.
>
> HTH
> Paul
>
> > Hmmm...
> > But for AGETFILEVERSION() I need the path of the current executing file.
> > Where do I get that?
> > (It is not sufficiently merely to know the path, as storing it in an environment variable might allow, because somebody could copy the executable, run it from some arbitrary location, and rely on me getting the version from the environment variable...and the so referenced version might be different from the version they are actually running.)
> >
> > ~Rich
> >


ENTIRE THREAD

How do I get the current application version? Posted by Richard Conlan @ 8/28/2003 3:17:29 PM
RE: How do I get the current application version? Posted by Paul Brown @ 8/28/2003 3:26:26 PM
RE: How do I get the current application version? Posted by Richard Conlan @ 8/28/2003 4:53:12 PM
RE: How do I get the current application version? Posted by Foxhound @ 8/29/2003 8:06:23 AM
RE: How do I get the current application version? Posted by Paul Brown @ 8/29/2003 4:13:23 PM
RE: How do I get the current application version? Posted by Jim [Codecharmer] Frankland @ 12/30/2003 6:05:56 AM