There is AGETFILEVERSION() function in VFP 6 that returns the same information into array. Both of them only usefull for files with Windows version resources such as .exe, .dll, and .fll files, or automation servers created in Visual FoxPro.
>Hi
>
>There is also a function in the Foxtools.fll library which can give additonal information about a file that ADIR and FILE cannot that you might find useful. This function is
>
>=GetFileVersion( cExeFile, @aProperties )
>
>You must declare the aProperties array first with 12 elements. This function will then populate the aProperties array elements as per:
>
>1 Comments
>2 Company Name
>3 File Description
>4 File Version
>5 Internal Name
>6 Legal Copyright
>7 Legal Trademarks
>8 Original File Name
>9 Private Build
>10 Product Name
>11 Product Version
>12 Special Build
>
>
>This information is also available when you right click a files icon and ask for 'Properties' while in Windows explorer (or My Computer). Check the Foxtools.fll help file for more info.
--sb--