Retrieve File Version Information

Win32 file images can contain a file version resource that stores product and version information about the file. The version num-ber is actually four 16-bit values typically displayed using dot notation (such as 4.0.9.4566). You can use this information when determining whether one file is newer or older than another. This code implements the GetVersionInfo procedure in a standard BAS module. Pass the name of a file to GetVersionInfo, and a dot-formatted string of the version number returns, if available, or

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: