MB Software Solutions, LLC wrote: > I thought there was an alternative to AGETFILEVERSION but I can't recall > what it is. Help didn't suggest an alternative either. It just offered > ADIR, DIRECTORY, or GETFILE....not what I wanted. > > I searched the ProFox archives for AGETFILEVERSION but it found no > results. I searched for VERSION and it found results but then I got > errors clicking beyond page1 of the results. > > Ideas? I recall seeing something (like a newer command) that gave this. > Thanks! >
To clarify, VFP9SP1. AGETFILEVERSION(laVersion,"myapp.exe") and AGETFILEVERSION(laVersion,"c:\abc\def\myapp.exe") both return 0 and don't populate the array. The file is in the current directory and yes, it does exist. I don't understand why AGETFILEVERSION appears to fail to populate the array here. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

