Hi,

Is there a way to find what version of VFP I used to build an executable?
I'm sure I've seen an (MSDN?) article on it before, but can't seem to find
it anywhere.

Any help much appreciated.

Re: VFP build version by Graham

Graham
Wed Aug 09 11:54:23 CDT 2006

nRows = aGetFileVersion(ArrayName, cFileName)If cFileName has version
information ArrayName is created (or resized) with 15 rows. Element 11 gives
you the informationyou are looking for. This function works on any kind of
exe file!> Hi,
>
> Is there a way to find what version of VFP I used to build an executable?
> I'm sure I've seen an (MSDN?) article on it before, but can't seem to find
> it anywhere.
>
> Any help much appreciated.
>
>



Re: VFP build version by Neil

Neil
Wed Aug 09 15:17:03 CDT 2006

Hi Graham,

Thanks, but not quite what I was looking for. I know that you can give your
own version numbers, author name, company name and so on when you compile an
exe, which is what aGetFileVersion will give you.

What I want to know is if I built the exe using VFP6, 7, 8, 8SP1, etc. I'm
sure I saw an article where you can read a few bytes from near the beginning
of the file and determine it from there.

Cheers,
Neil

"Graham Dobson" <grahamdo@nospam.net> wrote in message
news:u$tsaP9uGHA.4688@TK2MSFTNGP06.phx.gbl...
> nRows = aGetFileVersion(ArrayName, cFileName)If cFileName has version
> information ArrayName is created (or resized) with 15 rows. Element 11
> gives
> you the informationyou are looking for. This function works on any kind
> of
> exe file!> Hi,
>>
>> Is there a way to find what version of VFP I used to build an executable?
>> I'm sure I've seen an (MSDN?) article on it before, but can't seem to
>> find
>> it anywhere.
>>
>> Any help much appreciated.
>>
>>
>
>



Re: VFP build version by Leonid

Leonid
Thu Aug 10 03:28:44 CDT 2006

May be version(4)?

Leonid

"Neil Waterworth" <spammonkey at microsocks.com> wrote in message
news:eB$iID$uGHA.1772@TK2MSFTNGP06.phx.gbl...
> Hi Graham,
>
> Thanks, but not quite what I was looking for. I know that you can give
> your own version numbers, author name, company name and so on when you
> compile an exe, which is what aGetFileVersion will give you.
>
> What I want to know is if I built the exe using VFP6, 7, 8, 8SP1, etc. I'm
> sure I saw an article where you can read a few bytes from near the
> beginning of the file and determine it from there.
>
> Cheers,
> Neil
>
> "Graham Dobson" <grahamdo@nospam.net> wrote in message
> news:u$tsaP9uGHA.4688@TK2MSFTNGP06.phx.gbl...
>> nRows = aGetFileVersion(ArrayName, cFileName)If cFileName has version
>> information ArrayName is created (or resized) with 15 rows. Element 11
>> gives
>> you the informationyou are looking for. This function works on any kind
>> of
>> exe file!> Hi,
>>>
>>> Is there a way to find what version of VFP I used to build an
>>> executable?
>>> I'm sure I've seen an (MSDN?) article on it before, but can't seem to
>>> find
>>> it anywhere.
>>>
>>> Any help much appreciated.
>>>
>>>
>>
>>
>
>



Re: VFP build version by Neil

Neil
Thu Aug 10 04:50:44 CDT 2006

> Is there a way to find what version of VFP I used to build an executable?
> I'm sure I've seen an (MSDN?) article on it before, but can't seem to find
> it anywhere.
>

Found it.

http://fox.wikis.com/wc.dll?Wiki~IdentifyFoxProVersionFromEXE~VFP

Thanks



Re: VFP build version by AA

AA
Fri Aug 11 09:13:49 CDT 2006

_VFP.ServerName,
_VFP.FullName
_VFP.StartMode
_VFP.Version
should get you the information you want

-Anders

"Neil Waterworth" <nospam-nwaterworth@lineone.net> skrev i meddelandet
news:OvvZ3r8uGHA.3428@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> Is there a way to find what version of VFP I used to build an executable?
> I'm sure I've seen an (MSDN?) article on it before, but can't seem to find
> it anywhere.
>
> Any help much appreciated.
>
>_VFP