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.
>>
>>
>
>