Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to retrieve network parameters for the local computer (including Host name, Domain name, and DNS Server)
Smart Card Database Query Functions
Winsock: changing the byte ordering
How to change the name and the size of the font in the MessageBox dialog
How to enumerate, add and delete shares on the local computer (WinNT/XP)
How to find the application associated with a file name
Locking and unlocking file of a VFP table
Reading list of folders and files on FTP server
Retrieving graphic capabilities of default printer
Tracking mouse movement to detect when to start dragging
Controlling master audio volume by sending WM_APPCOMMAND messages
How to make application automatically close all documents it opened
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Copying files as a transacted operation (Vista)
Reading entries from Event logs
Setting the volume label
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Enumerating Windows Sound Schemes avaialble to the current user
How to ping a remote site using IP Helper API calls
Placing On-screen Alert on top of all windows
Using the GradientFill function
Using the Semaphore object
How to create non-blocking Winsock server
Pocket PC: base class
How to retrieve network parameters for the local computer (including Host name, Domain name, and DNS 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:
Normally this information is available through the DOS call:
ipconfig /all
  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:
  • ~
2823 bytes  
Created: 2002-11-28 09:57:11  
Modified: 2009-01-03 15:26:33  
Visits in 7 days: 226  
Listed functions:
Printer friendly API declarations
My comment:

#kwd: sln_winsock.
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
4 sec.Function: 'CeCreateDirectory'
Function group: 'Remote Application Programming (RAPI)'
7 sec.Function: 'CreateWindowEx'
10 sec.Function: 'DestroyPhysicalMonitors'
Function group: 'Monitor Configuration (Vista)'
12 sec.Function: 'NetUserGetLocalGroups'
Function group: 'Network Management'
14 sec.Function: 'CeRapiInitEx'
Function group: 'Remote Application Programming (RAPI)'
17 sec.Solutions
19 sec.Function: 'GetCurrentThread'
Function group: 'Process and Thread'
21 sec.
Function group: 'GDI+ Image'
23 sec.Function: 'AVIFileGetStream'
Function group: 'Windows Multimedia'
25 sec.Updates
Advertise here!