Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Disk in drive A:
GDI+: creating scaled copy of image file
Storing the environment strings in cursor
Comparing dimensions of the VFP main window with _SCREEN properties
Enumerating global and local group accounts on a server (WinNT/XP/2K)
Enumerating print processors and supporting data types installed on the specified server
GDI+: Color Transparency
Number of clipboard formats available
Retrieving list of all active RAS connections
Retrieving list of available disk drives
Testing an ODBC connection for supporting specific functionality
Using InternetGoOnline function
Yet another modal dialog: now HTML-based
Displaying the drive type value
Drawing standard Windows icons
Finding the path to the VFP executable running
GDI+: printing image file
How to save registry key including its subkeys and values to a file
Printing text on the client area of the main VFP window
Reading VFP settings from the Windows Registry
Enumerating MIDI output devices
GDI+: Storing DLL icon resources in image files
How to download this reference`s archive through WinInet functions using InternetOpenUrl
How to view system icons for the classes installed on the local machine
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: 77  
    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 (184.73.7.143)
    3 sec.Example: 'Creating an Open dialog box to specify the drive, directory, and name of a file to open (Shell32 version)'
    1.24 hrs.Function: 'GetLongPathName'
    Function group: 'File Management'
     Gallery
    Page 17
    1.79 hrs.Example: 'How to find when the application started'
     Function: 'ExtractAssociatedIcon'
     Example: 'How to print a bitmap file'
    6.89 hrs.Example: 'Testing MS Internet Explorer version installed'
    7.65 hrs.Example: 'Splash Screen for the VFP application'
     Example: 'Dial the Net Automatically'
     Function: 'DrawMenuBar'
    Google
    Advertise here!