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:
Creating a directory on the FTP
Custom FTP Class for Visual FoxPro application
Custom HttpRequest class (WinINet)
Downloading files from the FTP server using InternetReadFile
How to delete file on FTP server
How to download a file from the FTP server using FtpGetFile
How to download this reference`s archive through WinInet functions using InternetOpenUrl
How to remove FTP directory
How to retrieve the size of a remote file (FTP)
Opening access to the Microsoft Internet functions for the application
Reading Internet Query options
Reading list of folders and files on FTP server
Retrieving list of files on the FTP directory
Uploading file to the FTP server using InternetWriteFile
Uploading local file to FTP server with FtpPutFile
Using FtpCommand
Using InternetSetFilePointer when resuming interrupted download from the Internet
InternetOpen
    Add comment     W32 Constants      Translate this page
Initializes an application"s use of the Microsoftฎ Win32ฎ Internet functions
Code examples:
Custom FTP Class for Visual FoxPro application
Custom HttpRequest class (WinINet)
Using InternetSetFilePointer when resuming interrupted download from the Internet
Reading list of folders and files on FTP server
Downloading files from the FTP server using InternetReadFile
Using FtpCommand
Uploading local file to FTP server with FtpPutFile
Retrieving list of files on the FTP directory
How to retrieve the size of a remote file (FTP)
How to download a file from the FTP server using FtpGetFile
Declaration:
 
HINTERNET InternetOpen(
    LPCTSTR lpszAgent,
    DWORD dwAccessType,
    LPCTSTR lpszProxyName,
    LPCTSTR lpszProxyBypass,
    DWORD dwFlags
);
 
 
FoxPro declaration:
 
DECLARE INTEGER InternetOpen IN wininet;
    STRING  sAgent,;
    INTEGER lAccessType,;
    STRING  sProxyName,;
    STRING  sProxyBypass,;
    STRING  lFlags
 
Parameters:
lpszAgent
[in] Pointer to a string variable that contains the name of the application or entity calling the Internet functions.

dwAccessType
[in] Type of access required

lpszProxyName
[in] Pointer to a string variable that contains the name of the proxy server(s)

lpszProxyBypass
[in] Pointer to a string variable that contains an optional list of host names or IP addresses, or both, that should not be routed through the proxy when dwAccessType is set to INTERNET_OPEN_TYPE_PROXY

dwFlags
[in] Unsigned long integer value that contains the flags that indicate various options affecting the behavior of the function
Return value:
Returns a valid handle that the application passes to subsequent Win32 Internet functions. If InternetOpen fails, it returns NULL
My comment:
It"s just a beginning -- to allow your application to use the Microsoft Internet functions. Actually, this function does nothing except this. On exit do not forget to call the closing function -- InternetCloseHandle.

Allow me to allow something, and I soon will be the master of this something.
Word Index links for the InternetOpen :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
•
Created: 2001-07-15 12:00:00
Modified: 2001-11-26 16:02:25
Visited in last 7 days: 125
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.196.47.128)
4 sec.Function: 'mixerOpen'
Function group: 'Windows Multimedia'
7 sec.Examples
12 sec.Function: 'FindNextUrlCacheGroup'
Function group: 'Internet Functions (WinInet)'
15 sec.Example: 'Retrieving local computer and user names'
19 sec.Links
22 sec.Updates
25 sec.Function: 'closesocket'
Function group: 'Windows Sockets 2 (Winsock)'
28 sec.Login
31 sec.Function: 'ReadFile'
Function group: 'File Management'
34 sec.Function: 'MoveFile'
Function group: 'File Management'
Google
Advertise here!