Retrieves information from the version resource of a file and stores it in an array.
| Category | File Utilities |
|---|---|
|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Utilities |
|
Class |
_fileversion |
|
Base Class |
Custom |
|
Class Library |
_utility.vcx |
|
Parent Class |
_custom |
|
Sample |
...\Samples\Solution\WinAPI\getver.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class on the form. You can then specify the appropriate values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.
| Properties, Events, Methods | Description |
|---|---|
|
cFileName property |
The name of the target file. Default: "" |
|
aVersion[12,0] property |
Array containing the file version information. Default: .F. |
|
GetVersion method |
Retrieves version information for cFileName.
Syntax:
Return: none Arguments: none |
|
DisplayVersion method |
Displays the version information for cFileName.
Syntax:
Return: none Arguments: none |
js editor
Web development