Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Winsock: retrieving information from a host database for a given host name
Managing Cookies
Pocket PC: enumerating mounted database volumes and databases in the Object Store
Retrieving list of supported paper names (for example, Letter or Legal) for a given printer
Using the GetLogicalDriveStrings
An alternative way of setting Form.Closable to False
CryptoAPI: Collection of Providers class
GDI+: creating scaled copy of image file
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
Using Custom FTP class (DEFINE CLASS ftp As Custom)
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Determining whether or not the system is connected to the Internet
How to display picture stored in enhanced-format metafile (*.emf)
Reading and setting system access privileges for the current process
Reading entries from Event logs
Retrieving geometrical parameters of the system desktop window
Retrieving the rectangle area where the mouse cursor is confined
Accessing Windows Control Panel from VFP Application
Creating hash values for the list of names
How to drag a Form not using its Titlebar or Caption
How to find when the application started
How to view icons stored in executable files (Icon Viewer) - II
GDI+: reading and writing metadata in JPEG and TIFF files
How to display the Print property sheet
Winsock: retrieving the host information corresponding to a network address

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:
  • Resolving an address to a host name
  •  
      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:
    • ~
    3271 bytes  
    Created: 2001-12-16 22:11:02  
    Modified: 2010-10-14 11:56:50  
    Visits in 7 days: 89  
    Listed functions:
    gethostbyaddr
    inet_addr
    WSACleanup
    WSAGetLastError
    WSAStartup
    Printer friendly API declarations
    My comment:
    The gethostbyaddr function has been deprecated by the introduction of the getnameinfo function.
    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.16.17.90)
    4 sec.
    Function group: 'Atom'
    2.08 hrs.Function: 'RegCreateKeyEx'
    Function group: 'Registry'
    2.54 hrs.Function: 'CopyMemory'
     Function: 'EnumPrinters'
    2.88 hrs.Example: 'Using Extended MessageBox() Class'
    2.89 hrs.Example: 'Round FoxPro form'
    6.18 hrs.Function: 'FreePrinterNotifyInfo'
     Function: 'GetSysColor'
    Function group: 'System Information'
    10.1 hrs.Function: 'SQLAllocEnv'
    Function group: 'ODBC API'
     Example: 'Reading list of folders and files on FTP server'
    Google
    Advertise here!