Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsFileVersionMBS class.

WindowsFileVersionMBS.FileDateLS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
File date number. Lower part.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileDateLS)
end if

Filedate is a 64 bit integer. This is the lower 32 bit part.

Specifies the least significant 32 bits of the file's 64-bit binary creation date and time stamp.
(Read and Write property)

WindowsFileVersionMBS.FileDateMS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
File date number. Higher part.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileDateMS)
end if

Filedate is a 64 bit integer. This is the higher 32 bit part.

Specifies the most significant 32 bits of the file's 64-bit binary creation date and time stamp.
(Read and Write property)

WindowsFileVersionMBS.FileFlags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The file flags.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileFlags)
end if

Contains a bitmask that specifies the Boolean attributes of the file. This member can include one or more of the following values.

VS_FF_DEBUG= 1The file contains debugging information or is compiled with debugging features enabled.
VS_FF_INFOINFERRED= 16The file's version structure was created dynamically; therefore, some of the members in this structure may be empty or incorrect. This flag should never be set in a file's VS_VERSIONINFO data.
VS_FF_PATCHED= 4The file has been modified and is not identical to the original shipping file of the same version number.
VS_FF_PRERELEASE= 2The file is a development version, not a commercially released product.
VS_FF_PRIVATEBUILD= 8The file was not built using standard release procedures. If this flag is set, the StringFileInfo structure should contain a PrivateBuild entry.
VS_FF_SPECIALBUILD= 32The file was built by the original company using standard release procedures but is a variation of the normal file of the same version number. If this flag is set, the StringFileInfo structure should contain a SpecialBuild entry.
(Read and Write property)

WindowsFileVersionMBS.FileOS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The file os settings.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileOS)
end if

Specifies the operating system for which this file was designed. This member can be one of the following values.

VOS_DOS= &h00010000The file was designed for MS-DOS.
VOS_NT= &h00040000The file was designed for Windows NT.
VOS__WINDOWS16= &h00000001The file was designed for 16-bit Windows.
VOS__WINDOWS32= &h00000004The file was designed for 32-bit Windows.
VOS_OS216= &h00020000The file was designed for 16-bit OS/2.
VOS_OS232= &h00030000The file was designed for 32-bit OS/2.
VOS__PM16= &h00000002The file was designed for 16-bit Presentation Manager.
VOS__PM32= &h00000003The file was designed for 32-bit Presentation Manager.
VOS_UNKNOWN= &h00000000The operating system for which the file was designed is unknown to the system.

An application can combine these values to indicate that the file was designed for one operating system running on another. The following FileOS values are examples of this, but are not a complete list.

VOS_DOS_WINDOWS16= &h00010001The file was designed for 16-bit Windows running on MS-DOS.
VOS_DOS_WINDOWS32= &h00010004The file was designed for 32-bit Windows running on MS-DOS.
VOS_NT_WINDOWS16= ?The file was designed for Windows NT.
VOS_OS216_PM16= &h00020002The file was designed for 16-bit Presentation Manager running on 16-bit OS/2.
VOS_OS232_PM32= &h00030003The file was designed for 32-bit Presentation Manager running on 32-bit OS/2.
(Read and Write property)

WindowsFileVersionMBS.FileSubtype as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Windows file subtype code.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileSubType)
end if

Specifies the function of the file. The possible values depend on the value of FileType. For all values of FileType not described in the following list, FileSubtype is zero.

If FileType is VFT_DRV, FileSubtype can be one of the following values.

VFT2_UNKNOWN= 0The driver type is unknown by the system.
VFT2_DRV_COMM= 10The file contains a communications driver.
VFT2_DRV_PRINTER= 1The file contains a printer driver.
VFT2_DRV_KEYBOARD= 2The file contains a keyboard driver.
VFT2_DRV_LANGUAGE= 3The file contains a language driver.
VFT2_DRV_DISPLAY= 4The file contains a display driver.
VFT2_DRV_MOUSE= 5The file contains a mouse driver.
VFT2_DRV_NETWORK= 6The file contains a network driver.
VFT2_DRV_SYSTEM= 7The file contains a system driver.
VFT2_DRV_INSTALLABLE= 8The file contains an installable driver.
VFT2_DRV_SOUND= 9The file contains a sound driver.
VFT2_DRV_VERSIONED_PRINTER= 10The file contains a versioned printer driver.

If FileType is VFT_FONT, FileSubtype can be one of the following values.

VFT2_UNKNOWN= 0The font type is unknown by the system.
VFT2_FONT_RASTER= 1The file contains a raster font.
VFT2_FONT_VECTOR= 2The file contains a vector font.
VFT2_FONT_TRUETYPE= 3The file contains a TrueType font.

If FileType is VFT_VXD, FileSubtype contains the virtual device identifier included in the virtual device control block.
All FileSubtype values not listed here are reserved.
(Read and Write property)

WindowsFileVersionMBS.FileType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Windows file type code.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileType)
end if

Specifies the general type of file. This member can be one of the following values. All other values are reserved.

VFT_UNKNOWN= 0The file type is unknown to the system.
VFT_APP= 1The file contains an application.
VFT_DLL= 2The file contains a DLL.
VFT_DRV= 3The file contains a device driver. If dwFileType is VFT_DRV, FileSubtype contains a more specific description of the driver.
VFT_FONT= 4The file contains a font. If dwFileType is VFT_FONT, FileSubtype contains a more specific description of the font file.
VFT_VXD= 5The file contains a virtual device.
VFT_STATIC_LIB= 7The file contains a static-link library.
(Read and Write property)

WindowsFileVersionMBS.FileVersionLS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
File version number. Lower part.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileVersionLS)
end if

Fileversion is a 64 bit integer. This is the lower 32 bit part.

Specifies the least significant 32 bits of the file's binary version number. This member is used with FileVersionMS to form a 64-bit value used for numeric comparisons.
(Read and Write property)

WindowsFileVersionMBS.FileVersionMS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
File version number. Higher part.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.FileVersionMS)
end if

Fileversion is a 64 bit integer. This is the higher 32 bit part.

Specifies the most significant 32 bits of the file's binary version number. This member is used with FileVersionLS to form a 64-bit value used for numeric comparisons.
(Read and Write property)

WindowsFileVersionMBS.LangCharset as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The language charset to use.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.LangCharset)
end if

OpenFile sets this to the default value.
You can change it later.
Value is used on each call of GetOriginalFilename, GetFileVersion, GetCompanyName, GetProductName, GetInternalName, GetProductVersion, GetFileDescription, GetLegalCopyright, QueryUnicodeValue and QueryBinaryValue.
(Read and Write property)

WindowsFileVersionMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The last error code.

Lasterror means no error has happend.
Normally a Windows error code.
(Read and Write property)

WindowsFileVersionMBS.ProductVersionLS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Product version number. Lower part.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.ProductVersionLS)
end if

Productversion is a 64 bit integer. This is the lower 32 bit part.

Specifies the least significant 32 bits of the binary version number of the product with which this file was distributed. This member is used with ProductVersionMS to form a 64-bit value used for numeric comparisons.
(Read and Write property)

WindowsFileVersionMBS.ProductVersionMS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Product version number. Higher part.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.ProductVersionMS)
end if

Productversion is a 64 bit integer. This is the higher 32 bit part.

Specifies the most significant 32 bits of the binary version number of the product with which this file was distributed. This member is used with ProductVersionLS to form a 64-bit value used for numeric comparisons.
(Read and Write property)

WindowsFileVersionMBS.RawData as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the data of the file version record as string.

(Read only property)

WindowsFileVersionMBS.Success as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 6.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Whether last call to OpenFile was successful.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("dbgview.exe")
dim w as new WindowsFileVersionMBS
if w.OpenFile(f) then
MsgBox str(w.Success)
end if

(Read and Write property)

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...