Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Enumerating network sessions established on a server
Finding out if the current user is the Guest account
How to browse and connect to printers on a network (WinNT)
How to find which fonts Windows uses for drawing captions, menus and message boxes
Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)
Setting default printer
Downloading files from the FTP server using InternetReadFile
Enumerating Windows Sound Schemes avaialble to the current user
Drawing standard Windows icons
How to ping a remote site using IP Helper API calls
How to view icons stored in executable files (Icon Viewer)
Retrieving the interface–to–IP address mapping table
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
Obtaining OS memory performance information
Comparing file times
Drawing Windows frame controls using the DrawFrameControl function
How to Start a Process as Another User (NT/XP/2K)
Obtaining a handle to the desktop associated with the calling thread
Retrieving the name of the primary domain controller (PDC) and join status information
Extended MessageBox Class
How to download a file from HTTP server using URL Monikers functions
The window and its ancestors
Displaying the associated icons and descriptions for files and folders
Pocket PC: base class
Enumerating network sessions established on a server

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
click to open
Before you begin:
See also:
  • Enumerating global and local group accounts on a server (WinNT/XP/2K)
  • Enumerating files opened on the network
  • Obtaining names of local and global groups for current user (WinNT/XP/2K)
  • How to enumerate, add and delete shares on the local computer (WinNT/XP)
  • How to enumerate logon sessions on local computer
      Members area. Log in to view this example.
      User name:
      Forgot your password?
      Sign up for
    the Membership

    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    3119 bytes  
    Created: 2006-01-26 21:15:37  
    Modified: 2013-10-28 17:50:14  
    Visits in 7 days: 216  
    Listed functions:
    Printer friendly API declarations
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.

    Copyright © 2001-2018 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.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (
    11 sec.Function: 'mciSendCommand'
    Function group: 'Windows Multimedia'
    17 sec.Login
    25 sec.Function: 'JetAddColumn'
    Function group: 'Extensible Storage Engine (ESE, Jet Blue)'
    29 sec.Function: 'setsockopt'
    Function group: 'Windows Sockets 2 (Winsock)'
    34 sec.Function: 'CeMoveFile'
    Function group: 'Remote Application Programming (RAPI)'
    39 sec.Function: 'CeRegDeleteKey'
    Function group: 'Remote Application Programming (RAPI)'
    43 sec.Function: 'GetHGlobalFromStream'
    Function group: 'COM'
    48 sec.Banners
    53 sec.Function: 'JetGotoBookmark'
    Function group: 'Extensible Storage Engine (ESE, Jet Blue)'
    57 sec.Example: 'How to control Adobe Reader 9.0 (SDI mode) from VFP application'
    Advertise here!