Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Winsock: retrieving Web pages using sockets (HTTP, port 80)
How to load a user profile
How to print FoxPro form
How to print FoxPro form -- II
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Displaying system dialog that selects a folder
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Terminating all running applications from a VFP program
Encapsulating access to the Windows Services in a class
Mapping and disconnecting network drives
Pocket PC: custom RAPI class for operating with files and folders on mobile device
Displaying icons in the system tray (VFP9)
Retrieving local computer and user names
Winsock: sending email messages (SMTP, port 25)
Browsing Windows Known Folders (Special Folders)
How to print a bitmap file
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Testing Clipboard functions: emptying the clipboard
How to ping a remote site using ICMP API calls
GDI+: sending image of FoxPro form to printer
Winsock: connecting to a news server (NNTP, port 119)
Capturing keyboard activity of another application with the Raw Input API (VFP9)
How to detect if additional monitor is connected and active
How to ping a remote site using IP Helper API calls
Winsock: retrieving Web pages using sockets (HTTP, port 80)

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:
Retrieved data is stored in a Memo field of a cursor.
  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:
  • ~
5399 bytes  
Created: 2003-02-05 18:59:34  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 268  
Listed functions:
Printer friendly API declarations
My comment:
As well you can store received data in a temporary file and load this file to a browser.

Same functionality can be achieved using Wininet functions -- InternetOpenUrl, HttpOpenRequest -- or using the URLDownloadToFile function from URL Monikers.

#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-2017 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 (
18 sec.Function: 'NetShareAdd'
Function group: 'Network Management'
35 sec.Function: 'NetShareSetInfo'
Function group: 'Network Management'
1.12 min.Function: 'waveOutReset'
Function group: 'Windows Multimedia'
1.4 min.Function: 'CeFindFirstFile'
Function group: 'Remote Application Programming (RAPI)'
1.72 min.Function: 'CeRegDeleteValue'
Function group: 'Remote Application Programming (RAPI)'
1.98 min.Example: 'Retrieving the interface–to–IP address mapping table'
2.27 min.Function: 'SQLSetEnvAttr'
Function group: 'ODBC API'
2.53 min.Example: 'Storing content of the Clipboard to a bitmap file'
2.87 min.Function: 'PathFindFileName'
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
3.13 min.
Advertise here!