GetFileVersionValue |
Previous Top Next |
Filename
|
[in]
The name of the filename where the version information is to be
retrieved |
Value
|
[in]
The name of the Value to retreive from the version information
section of the specified file |
The
following values can be retreived from most DLLs: |
Comments
|
InternalName
|
ProductName
|
CompanyName
|
LegalCopyright
|
ProductVersion
|
FileDescription
|
LegalTrademarks
|
PrivateBuild
|
FileVersion
|
OriginalFilename
|
SpecialBuild
|
This
function returns a string value. If the requested Filename does not
exist or the specified Value cannot be located in the file, the
value of "" is returned. |
FileVersion
= GetFileVersionValue("c:\windows\system32\kernel32.dll",
"FileVersion") |
|
if
FileVersion = "1.0.0.0" then |
MsgBox
"This is Version 1.0!" |
End if
|