Hi,
posted a cross-platform example.
http://forums.4d.fr/Post//2735681/1/on Mac it uses XSLT with Info.plist, on Windows
Scripting.FileSystemObject with cscript.
requires Unicode mode.
miyako
On 2009/07/02, at 1:05, Josh Fletcher (4D, Inc.) wrote:
> Matt Houghton-Thompson wrote:
>> Is there a way to do this programmatically so that
>> we can check it when a client logs in?
>
> On Mac it's in the info.plist file (which is just an XML file).
> They key is CFBundleShortVersionString.
>
> On Windows I suspect you'd have to use either LEP or a plug-in as I
> don't know of any way to access the executable properties from 4D
> (short of creating your own API to do it).
>
> Kind regards,
>
> Josh Fletcher
**********************************************************************
Register for 4D Summit 2009 Today
Early Bird Pricing Ends August 28th -
http://www.4d.com/summit4D Internet Users Group (4D iNUG)
FAQ:
http://www.4D.com/support/faqnug.htmlArchive:
http://lists.4D.com/archives.htmlOptions:
https://lists.4d.com/mailman/options/4d_techUnsub: mailto:
4D_Tech-Unsubscribe@...
**********************************************************************