Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to delete IE cookies, clear IE history and delete files in Temporary Internet Files directory
How to retrieve adapter information for the local computer (including MAC address)
Accessing examples contained in this reference from a VFP application
Dial the Net Automatically
Displaying printer-properties Property Sheet for the specified printer
Displaying the associated icons and descriptions for files and folders
Drawing a rectangle using Windows regular edges and borders
Winsock: retrieving the standard host name and IP address for the local machine
Attaching menu to a top-level form
Drawing standard Windows icons
How to set Creation Date/Time for a folder (WinNT)
Retrieving current settings for an ODBC connection
Retrieving file information for the VFP executable running
Storing registration key in the resources of an executable file
Winsock: reading and setting socket options
How to retrieve network parameters for the local computer (including Host name, Domain name, and DNS Server)
Power capabilities of the system: battery, UPS, sleep and hibernation modes, processor throttling
Reading VFP settings from the Windows Registry
Uploading file to the FTP server using InternetWriteFile
Using Change Notification Objects to monitor changes to the printer or print server
Using the RestartDialog function -- restarting Windows
Another way to go online (it is not about choosing an ISP)
Disabling drawing in the VFP form
Extended MessageBox Class
How to retrieve version information for the specified file

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Versions:
click to open
Before you begin:
Version information makes it easier for applications to install files properly and enables setup programs to analyze files currently installed. The version-information resource contains the version number, intended operating system, and original file name.

The FileVersionInfo class encapsulates GetFileVersionInfo API call and provides read-only access to structures VS_VERSIONINFO and VS_FIXEDFILEINFO.

Usage:



See also:
Retrieving file information for the VFP executable running
 
  Members area. Log in to view this example.
 
  User name:
  Password:
 
 
  Forgot your password?
 
  Sign up for
the Membership
 
 


User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
5819 bytes  
Created: 2005-02-25 15:48:07  
Modified: 2009-03-27 10:03:27  
Visits in 7 days: 58  
Listed functions:
GetFileVersionInfo
GetFileVersionInfoSize
GetLastError
Printer friendly API declarations
My comment:
VFP AGETFILEVERSION() Function returns similar data.

See also Version Information article on MSDN.

The presence of OleSelfRegister in the version resource means that the file (DLL or EXE) can self-register itself. The developer decides whether to add this string to the version information.

Since all information resources are enumerated in a method of the class, there is no apparent need in using the VerQueryValue API call.
Word Index links for this example:
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.231.49)
4 sec.Example: 'Creating a clipping region from the path selected into the device context of a form'
6.35 min.Example: 'Enumerating sessions established on a server'
1.15 hrs.Example: 'How to enumerate sessions and processes on a specified terminal server'
 Function: 'GdipCreateFromHDC2'
5.1 hrs.Example: 'Form Magnifier'
 Function: 'UnlockFile'
Function group: 'File Management'
7.29 hrs.Example: 'Displaying animated images on FoxPro form with BitBlt and StretchBlt functions'
 Function: 'GdipResetWorldTransform'
8.92 hrs.Function: 'CreateFile'
 Function: 'GdipTranslateMatrix'
Function group: 'GDI+ Matrix'
Google
Advertise here!