Share via


File Version Foundation Class

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

Retrieves information from the version resource of a file and stores it in an array.

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

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes