Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to make the caption of a VFP application flashing in the Windows task bar
Moving shortcut to a specified position on the Windows Desktop
Displaying standard progress dialog box when copying files
Enumerating printer drivers installed
Enumerating Volumes and Volume Mounting Points (NTFS)
GDI+: sending image of FoxPro form to printer
How to browse and connect to printers on a network (WinNT)
Reading security permissions for NTFS files and folders
Reading VFP settings from the Windows Registry
Accessing LSA Policy object (Local Security Authority)
Creating a unique filename based on existing filename
Current keyboard type
GDI+: how to make VFP controls visually shake and shudder
Printing text on the client area of the main VFP window
Printing text on the main VFP window
Retrieving file information for the VFP executable running
Using the SetErrorMode for determining if a floppy drive is ready
Drawing cursors for the classes defined by the system (preregistered): BUTTON, EDIT, LISTBOX etc.
How to copy the image of a form to the Clipboard using Bitmap API functions
How to create transparent areas inside a form -- punching holes in the form
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Using mailslots to send messages on the network
Converting an HTTP time/date string to a SYSTEMTIME structure
Enumerating ODBC drivers available on the local computer
How to download this reference`s archive through WinInet functions using InternetOpenUrl

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:
Check similar example based on URL Monikers functions.

 
  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:
  • ~
2523 bytes  
Created: 2001-08-17 12:00:00  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 113  
Listed functions:
GetLastError
InternetCloseHandle
InternetOpen
InternetOpenUrl
InternetReadFile
Printer friendly API declarations
My comment:
This particular example let you download VFP tables containing the recent data of this reference:
- list of functions
- list of examples
- function groups
- list of libraries

After that you can work with this data locally.

Through Hypertext Transfer Protocol -- also known as HTTP -- this program opens a remote Zip archive and transfers it into a local file on your computer.

Though the primary task of this code is to demonstrate InternetOpenUrl function.

And of course, you can download it directly here.
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:
WCoupe | 2006-07-14 11:37:34
This was *exactly* what I'd been looking for! And.. specifically the reason I signed up!!

Also, if you're interested, I've modified the source a bit to show how you can achieve this, in a password protected site by passing the USER/PW in the 'Open' call and getting the appropriate handle.
A.M. | 2006-07-14 11:53:26
Hi Bill, you're always welcome. Please email me a part of code with your modifications, and I put it under Comment section on this page -- devicecontext_at_msn_dot_com

Try also URLDownloadToCacheFile/URLDownloadToFile functions and related examples.

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.20.129.212)
1.86 hrs.Example: 'Scanning a hierarchy of child windows down from the Windows Desktop'
 Example: 'How to put a vertical text scrolling on the form (a movie cast)'
2.89 hrs.Function: 'CryptStringToBinary'
 Example: 'Disabling drawing in the VFP form'
10.01 hrs.Example: 'Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window'
 Function: 'SQLConnect'
Function group: 'ODBC API'
11.52 hrs.Example: 'Joining local computer to a domain (XP/2000)'
13.15 hrs.Function: 'JetOpenTable'
14.2 hrs.Example: 'StrDup returns a pointer to the duplicate of a source VFP string'
14.21 hrs.Example: 'How to create transparent areas inside a form -- punching holes in the form'
Google
Advertise here!