Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
The DetectAutoProxyUrl function identifies the auto-config script location
Using GetNearestColor
Using the SystemParametersInfo function
DiskFreeSpace class
Enumerating ODBC Data Sources available on the local computer
Enumerating Processes -- Win9*
GDI+: Color Transparency
How to retrieve list of system DSNs (Data Source Name) with parameters
Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)
Obtaining OS memory performance information
Retrieving Network Provider information
Using an Event Object. Part A: running an application that creates an Event object
Using the GetTempFileName
Using vendor-neutral SQL constructs
Converting characters in a URL into corresponding escape sequences and backwards
Creating a device context for the specified printer
Get the power status of your laptop computer
GetFocus returns a HWND value
How to start the screen saver and how to find whether the screen saver is active
Pocket PC: base class
Reading the state of mouse buttons within DO WHILE loop
Retrieving the name of the primary domain controller (PDC) and join status information (NT/2000/XP)
Storing registration key in the resources of an executable file
Using InternetGoOnline function
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: 87  
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 (50.17.88.213)
6.67 min.Example: 'Enumerating devices installed on the local machine'
6.75 min.Example: 'Playing WAV sounds simultaneously'
6.8 min.Example: 'Converting image file to .ICO file'
2.08 hrs.Examples
Page 3
 Function: 'CeRegSetValueEx'
Function group: 'Remote Application Programming (RAPI)'
Google
Advertise here!