Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: GetVersion( ) Return: none Arguments: none |
DisplayVersion method |
Displays the version information for cFileName. Syntax: DisplayVersion( ) Return: none Arguments: none |
See Also
Concepts
Guidelines for Using Visual FoxPro Foundation Classes
Reference
Visual FoxPro Foundation Classes A-Z