Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: how to make VFP controls visually shake and shudder
Reading entries from Event logs
How to display the Print property sheet
Moving shortcut to a specified position on the Windows Desktop
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Winsock: connecting to a news server (NNTP, port 119)
How to display picture stored in enhanced-format metafile (*.emf)
How to make application automatically close all documents it opened
How to read email messages using Simple MAPI
Reading the structure of VFP main menu
Class for sound recording
How to prevent users from accessing the Windows Desktop and from switching to other applications
Opening the Page Setup dialog box to specify the attributes of a printed page
Starting a dialog box for connecting to network resources (mapping network drive)
Drawing cursors for the classes defined by the system (preregistered): BUTTON, EDIT, LISTBOX etc.
Using Common Controls: the Header Control
Getting a bit more than the _CLIPTEXT offers
How to disable the Windows Clipboard (VFP9)
Sending a standard message with one or more attached files using default email client
Animating a transition of the VFP form (a wire-frame rectangle)
Displaying bitmap using the AlphaBlend function
How to copy the image of a form to the Clipboard using Bitmap API functions
Obtaining some properties for the Windows desktop using the GetWindowPlacement function
OS version and revision
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: 102  
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 (50.16.132.180)
4 sec.Example: 'Retrieving graphic capabilities of your display'
7 sec.Function: 'CloseEventLog'
Function group: 'Event Logging'
46.63 min.Example: 'Placing an arbitrary rectangular area of main VFP window on the Clipboard'
46.68 min.Function: 'LookupAccountSid'
52.72 min.Function: 'GetEnvironmentStrings'
Function group: 'Process and Thread'
52.77 min.Example: 'Windows Shell Icons displayed and exported to ICO files (Vista)'
52.82 min.Function: 'socket'
4.53 hrs.Example: 'GDI+: converting image file to another graphics format'
5.89 hrs.Example: 'How to find when the application started'
 Function: 'OpenEventLog'
Google
Advertise here!