TVersionInfo
Thanks for downloading TVersionInfo, I hope this component is useful to you.
Description:
This component is designed to help you display meaningful information about your program (like file versions types, eg. C/S or LAN, etc.). The source code is available upon request (send e-mail to dlederman@ssccompany.com).
Installation:
Click Componentsà Install then select the VersionInfo.DCU file.
Usage:
Just drop the component onto the form and call GetFileInfo. This will load the default version info item, if you need to retrieve custom items (for example if you create a VersionType entry), simply modify the VersionInfo property and add your entry, then use GetValue(‘VersionType’) to retrieve the data. The ten default types also have direct property access (CompanyName, FileDescription, FileVersion, InternalName, LegalCopyright, LegalTradeMarks, OriginalFileName, ProductName, ProductVersion, Comments)
Available properties/methods:
Item Name |
Item Type |
Description |
GetFileInfo |
Procedure |
Reads Version Info |
GetValue(Value : String) : String |
Function |
Returns Value |
GetText : String; |
Function |
Returns entire text as TEXT=VALUE pairs |
VersionInfo : Tstrings |
Property |
Tells the comp what items to retrieve (one entry per line) |
Count : Integer |
Property |
Returns Item Count |
CompanyName |
Property |
Self Explanatory |
FileDescription |
Property |
Self Explanatory |
FileVersion |
Property |
Self Explanatory |
InternalName |
Property |
Self Explanatory |
LegalCopyright |
Property |
Self Explanatory |
LegalTradeMarks |
Property |
Self Explanatory |
OriginalFileName |
Property |
Self Explanatory |
ProductName |
Property |
Self Explanatory |
ProductVersion |
Property |
Self Explanatory |
Comments |
Property |
Self Explanatory |
Contact Information:
You can reach me at
dlederman@ssccompany.com