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:
Testing if a connection to an Url can be established
InternetCheckConnection
..msdn    Add comment     W32 Constants      Translate this page
Allows an application to check if a connection to the Internet can be established.
Code examples:
Testing if a connection to an Url can be established
Declaration:
BOOL InternetCheckConnection(
    LPCTSTR lpszUrl,
    DWORD dwFlags,
    DWORD dwReserved
);
FoxPro declaration:
DECLARE INTEGER InternetCheckConnection IN wininet;
    STRING  lpszUrl,;
    INTEGER dwFlags,;
    INTEGER dwReserved

Parameters:
lpszUrl
[in] Pointer to a string containing the URL to use to check the connection. This value can be set to NULL.

dwFlags
[in] Unsigned long integer value containing the flag values.

dwReserved
[in] Reserved. Must be set to 0.
Return value:
Returns TRUE if a connection is made successfully, or FALSE otherwise.
My comment:
Can test a general Internet connection availabiilty. The InternetGetConnectedState provide similar functionality.
Word Index links for the InternetCheckConnection :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-08-11 18:54:43
Modified: 2002-08-12 18:26:46
Visited in last 7 days: 20
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.202.184)
2 sec.Function: 'WTSRegisterSessionNotification'
3 sec.Function: 'SQLGetDiagRec'
5 sec.Function: 'SHGetFolderLocation'
6 sec.Login
8 sec.
Function group: 'Shell Functions'
10 sec.Function: 'waveInOpen'
11 sec.Function: 'CryptEnumProviders'
13 sec.Function: 'GetUserDefaultLocaleName'
14 sec.Function: 'GdipDeleteBrush'
16 sec.Function: 'EndUpdateResource'
Google
Advertise here!