Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Returns the file version component of a given file name.

 

Syntax

 

n = File_GetVersion(sFileName, nComponent)

 

Returns

 

Returns a number

The requested component file version.

 

Parameters

 

Name

Type

Optional

Meaning

sFileName

String

No

The full file name (path + file name) of the file you want to get info

nComponent

Number

No

A value that indicate witch file version component is required.

It can be one of following:

 

%FILE_MAJORVERSION

%FILE_MINORVERSION

%FILE_BUILDVERSION

%FILE_REVISIONVERSION

 

Remarks

 

 

Restrictions

 

 

See also

 

File Module, File_GetVersionString

 

Examples

 

MsgBox 0, File_GetVersion("c:\windows\explorer.exe", %FILE_MAJORVERSION)

'result can be 6

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software