Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
CryptoAPI: retrieving list of providers
Displaying Windows shell folders in TreeView control with Visual FoxPro FLL
GDI+: Using Scale and Shear transformations
How to obtain Content-Type value for a file type from the System Registry
Retrieving System Error message strings
High-powered ALLTRIM
Loading a string resource from an executable file
Pocket PC: enumerating mounted database volumes and databases in the Object Store
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Using the GetTempFileName
Animating a transition of the VFP form (a wire-frame rectangle)
GDI+: Storing DLL icon resources in image files
Reading VFP settings from the Windows Registry
Accessing examples contained in this reference through Web Services
Determining if an Active Network Connection is Available
Displaying all TCP connections for the local system
Validating URLs using moniker functions
Winsock: how to retrieve the protocol information corresponding to a protocol number
GDI+: cropping images
Number of clipboard formats available
Accessing examples contained in this reference from a VFP application
How to intercept window messages sent to VFP form
Pocket PC: creating backup for the System Registry
Winsock: how to retrieve a service information corresponding to a port
Disk in drive A:

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
Before you begin:

See also:
  • Displaying the drive type value
  • Basic Volume information
  • Setting the volume label
  • Obtaining physical parameters for a drive: sectors, clusters, cylinders...
  • Mapping and disconnecting network drives in FoxPro application
  • How to detect when a removable drive gets connected or disconnected

  •  
      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:
    • ~
    4388 bytes  
    Created: 2002-07-23 22:30:48  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 134  
    Listed functions:
    GetDiskFreeSpace
    GetVolumeInformation
    SHFormatDrive
    Printer friendly API declarations
    My comment:
    Most of the time, DISKSPACE("A") works good enough.
    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.224.75.101)
    3.26 hrs.Function: 'GetTextExtentPoint32'
    Function group: 'Font and Text'
    3.27 hrs.Example: 'Using the ChooseColor function'
    4.55 hrs.Example: 'Pocket PC: creating new database in the Object Store and copying Contacts Database records into it'
     Function: 'ToAscii'
    Function group: 'Keyboard Input'
    7.61 hrs.Function: 'FtpGetFileSize'
    7.62 hrs.Function: 'FlashWindowEx'
    Function group: 'Error Handling'
    8.36 hrs.Function: 'GlobalReAlloc'
    Function group: 'Memory Management'
     Example: 'Retrieving top-child window for the VFP form'
    13.41 hrs.Example: 'Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)'
    16.32 hrs.Solution: 'LanguageBar ActiveX Control'
    Google
    Advertise here!