Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Creating the Open dialog box to specify the drive, directory, and name of a file to open
GDI+: how to make VFP controls visually shake and shudder
How to enumerate, add and delete shares on the local computer (WinNT/XP)
Printing text with the Escape function
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Changing pitch and speed of a wave file
How to download this reference`s archive through WinInet functions using InternetOpenUrl
How to make application automatically close all documents it opened
Placing a button on the VFP form as a new child window
Testing an ODBC connection for supporting specific functionality
Browsing Windows Known Folders (Special Folders)
HOWTO: Use the Win32 API to Access File Dates and Times
Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)
Retrieving local computer and user names
How to delete all print jobs for a printer
Reading list of folders and files on FTP server
Writing to INI file
How to adjust monitor brightness (Vista, monitor with DDC support)
How to view icons stored in executable files (Icon Viewer) - II
Quering a waveform-audio input device
The original LoadPicture() function in VFP returns valid handles to bitmaps, icons, cursors, and metafiles
Using vendor-neutral SQL constructs
Creating a window using CreateWindowEx function
Extended MessageBox Class
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
Before you begin:
Retrieved data is stored in a Memo field of a cursor.
 
  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:
  • ~
5399 bytes  
Created: 2003-02-05 18:59:34  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 150  
Listed functions:
closesocket
gethostbyname
htons
inet_addr
inet_ntoa
recv
send
socket
UrlGetPart
WSACleanup
WSAStartup
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  
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 (107.21.186.38)
4 sec.
Function group: 'Pipe'
2.49 hrs.Function: 'GdipGetImageHeight'
Function group: 'GDI+ Image'
3.64 hrs.Function: 'GdiSetBatchLimit'
 Function: 'TerminateProcess'
4.18 hrs.Function: 'IsWindow'
 Example: 'How to prevent users from accessing the Windows Desktop and from switching to other applications'
9.27 hrs.Example: 'Dynamic strings implemented through VFP Custom class'
 Example: 'Creating a unique filename based on existing filename'
Google
Advertise here!