EXE_GetVersion

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Exe (Executable info) >

EXE_GetVersion

 

Description

 

Giving an exe or dll file name, returns its version number.

 

Syntax

 

n = EXE_GetVersion(FileName, VersionType)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

FileName

String

No

Name of an exe or dll file

VersionType

Numeric

No

Define which part of the version to return. See Exe equates for possible values

 

Remarks

 

Restrictions

 

See also

 

Examples