Using Win32 functions in Visual FoxPro Image Gallery
Internet Functions (WinInet)
..msdn
CreateMD5SSOHash
DeleteUrlCacheEntry
DetectAutoProxyUrl
FindCloseUrlCache
FindFirstUrlCacheEntry
FindFirstUrlCacheGroup
FindNextUrlCacheEntry
FindNextUrlCacheGroup
FtpCommand
FtpCreateDirectory
FtpDeleteFile
FtpFindFirstFile
FtpGetCurrentDirectory
FtpGetFile
FtpGetFileSize
FtpOpenFile
FtpPutFile
FtpRemoveDirectory
FtpRenameFile
FtpSetCurrentDirectory
GetUrlCacheEntryInfo
HttpOpenRequest
HttpQueryInfo
HttpSendRequest
InternetAttemptConnect
InternetAutodial
InternetAutodialHangup
InternetCanonicalizeUrl
InternetCheckConnection
InternetCloseHandle
InternetConnect
InternetCrackUrl
InternetDial
InternetFindNextFile
InternetGetConnectedState
InternetGetConnectedStateEx
InternetGetCookie
InternetGetLastResponseInfo
InternetGoOnline
InternetOpen
InternetOpenUrl
InternetQueryDataAvailable
InternetQueryOption
InternetReadFile
InternetSetCookie
InternetSetFilePointer
InternetTimeFromSystemTime
InternetTimeToSystemTime
InternetWriteFile
Code examples:
How to download this reference`s archive through WinInet functions using InternetOpenUrl
Using InternetSetFilePointer when resuming interrupted download from the Internet
InternetOpenUrl
..msdn    Add comment     W32 Constants      Translate this page
Opens a resource specified by a complete FTP, Gopher, or HTTP URL.
Code examples:
Using InternetSetFilePointer when resuming interrupted download from the Internet
How to download this reference`s archive through WinInet functions using InternetOpenUrl
Declaration:
HINTERNET InternetOpenUrl(
    HINTERNET hInternet,
    LPCTSTR lpszUrl,
    LPCTSTR lpszHeaders,
    DWORD dwHeadersLength,
    DWORD dwFlags,
    DWORD_PTR dwContext
);

FoxPro declaration:
DECLARE INTEGER InternetOpenUrl IN wininet;
    INTEGER hInternet,;
    STRING  lpszUrl,;
    STRING  lpszHeaders,;
    INTEGER dwHeadersLength,;
    INTEGER dwFlags,;
    INTEGER dwContext
Parameters:
hInternet
[in] HINTERNET handle to the current Internet session. The handle must have been returned by a previous call to InternetOpen.

lpszUrl
[in] Pointer to a string variable that contains the URL to begin reading.

lpszHeaders
[in] Pointer to a string variable that contains the headers to be sent to the HTTP server.

dwHeadersLength
[in] Unsigned long integer value that contains the length, in TCHARs, of the additional headers.

dwFlags
[in] Unsigned long integer value that contains the API flags.

dwContext
[in] Pointer to an unsigned long integer value that contains the application-defined value.
Return value:
Returns a valid handle to the FTP, Gopher, or HTTP URL if the connection is successfully established, or NULL if the connection fails.
My comment:
Use this function to download the archive with this reference data (see the example).
Word Index links for the InternetOpenUrl :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-17 12:00:00
Modified: 2001-11-26 16:03:15
Visited in last 7 days: 29
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 (54.82.79.109)
15 sec.Function: 'DrawFrameControl'
31 sec.Function: 'WTSRegisterSessionNotification'
48 sec.Function: 'InternetCheckConnection'
1.05 min.Function: 'NetServerGetInfo'
1.32 min.Function: 'WritePrivateProfileString'
1.57 min.Function: 'FreePrinterNotifyInfo'
1.82 min.Function: 'GetUserNameEx'
2.1 min.Function: 'CreateMutex'
2.37 min.Function: 'MAPISendDocuments'
2.63 min.Function: 'CeMoveFile'
Google
Advertise here!