Version Method

Return the version information for the current package file.

Syntax

object.Version [versionMS] [, versionLS]

The Version method syntax has the following parts:

Part Description
object An object expression that evaluates to a PackageFile object.
versionMS A variable which will contain the most significant version number for the current package file.
versionLS A variable which will contain the least significant version number for the current package file.

Remarks

The version numbers are both 32-bit values. The high word of the most significant version number is typically considered to be the major version, while the low word is the minor version. The least  significant version number is commonly the build number. For example, if versionMS has a value of 65568 (10020h) and versionLS has a value of 1225 (4C9h), it would be considered to be Version 1.20 Build 1225.