>>Little help...aGetFileVersion is not returning anything in VFP9SP2, the EXE is there in the same directory. Am I doing something wrong?
>>
>>
>>
>>? AGETFILEVERSION(laVersion,[ctd.exe])
>>
>>return 0
>
>Where were you running this from?
>IIRC it will only return the correct info when run from the EXE, not from the IDE
Incorrect. It works in runtime and development as long as correct exe name is provided.
--sb--