Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: creating scaled copy of image file
How to write and read Window Properties for the specified window
Minimizing all running applications
Obtaining I/O counts for the current process
Printing text with the Escape function
Retrieving information about MS-DOS device names using QueryDosDevice (WinNT only)
Retrieving window and menu help context identifiers
Using the MessageBox Win32 function
An alternative way of setting Form.Closable to False
CryptoAPI: Collection of Providers class
GDI+: Using Scale and Shear transformations
Pocket PC: enumerating mounted database volumes and databases in the Object Store
Reading entries from Event logs
Using Custom FTP class (DEFINE CLASS ftp As Custom)
Using the GetLogicalDriveStrings
How to display picture stored in enhanced-format metafile (*.emf)
How to find when the application started
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Creating hash values for the list of names
Determining whether or not the system is connected to the Internet
Reading and setting system access privileges for the current process
Reading data from INI files
Retrieving geometrical parameters of the system desktop window
Using GetCompressedFileSize (WinNT only)

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
 
DECLARE INTEGER GetCompressedFileSize IN kernel32;
    STRING lpFileName, INTEGER @lpFileSizeHigh
 
LOCAL lcFilename, lnSizeLo, lnSizeHi, lnSizeActual
 
lcFilename = "c:\Program Files\Microsoft Office\Office\Winword.exe"
STORE 0 TO lnSizeLo, lnSizeHi
 
lnSizeLo = GetCompressedFileSize (lcFilename, @lnSizeHi)
? "LO and HI values of actual size:", lnSizeLo, lnSizeHi
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
369 bytes  
Created: 2001-11-14 18:18:24  
Modified: 2001-11-14 18:19:07  
Visits in 7 days: 35  
Listed functions:
GetCompressedFileSize
Printer friendly API declarations
My comment:
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Unsupported.
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 (184.73.74.47)
30.35 min.Function: 'EmptyClipboard'
Function group: 'Clipboard'
30.38 min.Example: 'Converting image file to .ICO file'
2.14 hrs.Example: 'How to hot-track menu item selection in top-level form (requires VFP9)'
2.15 hrs.Function: 'StretchDIBits'
7.04 hrs.Article: 'ApiViewer for Visual FoxPro '
 Function: 'LookupAccountSid'
 Function: 'CreateCompatibleBitmap'
7.85 hrs.Function: 'Shell_GetImageLists'
 Function: 'CreateDesktop'
9.85 hrs.Example: 'How to retrieve information about a cache entry (Internet Explorer)'
Google
Advertise here!