Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Class for sound recording
GetFileOwner - Get the owner of an NTFS file
Setting the mouse capture to the specified window
Using Month Calendar Control (VFP9, Comctl32.dll)
How to draw custom Window Caption on FoxPro form
How to view icons stored in executable files (Icon Viewer)
Winsock: reading email messages (POP3, port 110)
A client for testing non-blocking Winsock server
Enumerating Windows Sound Schemes avaialble to the current user
Obtaining a handle to the desktop associated with the calling thread
Exporting DLL icon resources as .ICO files
How to ping a remote site using ICMP API calls
Round FoxPro form
Yet another modal dialog: now HTML-based
How to build UDP responder
How to display Windows On-Screen Keyboard
How to create MD-5 and SHA-1 hash values from a string
Enumerating ports that are available for printing on a specified server
How to start the screen saver and how to find whether the screen saver is active
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Enumerating ODBC Data Sources available on the local computer
How to delete a service object
Creating a directory on the FTP
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL 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
Before you begin:
Actually this code presents just a first step. Hopefully I will add more lines to it soon.
  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:
  • ~
1378 bytes  
Created: 2002-03-20 21:17:09  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 201  
Listed functions:
Printer friendly API declarations
My comment:
Not all ODBC drivers support this functionality: SQL Server, Oracle, you name more.
Unsupported by ODBC drivers for MS Access, Visual FoxPro, MySQL.

Typical return from this function:
SERVER:Server={Server1,Server2,Server3};UID:Login ID=?;PWD:Password=?;*APP:AppName=?;*WSID:WorkStation ID=?
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 (
3 sec.Function: 'GetTextColor'
Function group: 'Font and Text'
4 sec.Function: 'CeRegCloseKey'
Function group: 'Remote Application Programming (RAPI)'
6 sec.Function: 'mixerGetNumDevs'
Function group: 'Windows Multimedia'
7 sec.Function: 'NetScheduleJobEnum'
Function group: 'Network Management'
10 sec.Articles
12 sec.Function: 'AVIStreamTimeToSample'
Function group: 'Windows Multimedia'
14 sec.Function: 'GetDeviceCaps'
Function group: 'Device Context'
15 sec.Example: 'How to extract frames from AVI files'
17 sec.
20 sec.Function: 'GetFileAttributesEx'
Function group: 'File Management'
Advertise here!