The default for all older Microsoft Internet access controls is to connect directly to the Internet, which works most of the time.
However, if there's a proxy on the client path that won't work and you need to switch operation to use proxy settings or configurations. I'm not sure how that works with the Internet Transfer control, since it's a bad fit for synchronous data retrieval. Using WinHTTP or WinInet are better choices for this anyway, and both of those support proxy configuration.
Or you can use wwIPStuff:
oHttp = CREATE('wwHTTP')
oHttp.nHttpConnectMode = 1
oHttp.AddPostKey("txtName","Rick")
lcHtml = oHttp.HttpGet("http://www.west-wind.com/wwStore30/profile.wws")
IF oHTTP.nError > 0
? oHttp.cErrorMsg
RETURN
ENDIF
... do what you need to with HTTP content
+++ Rick ---
>Hi All,
>
>I'm using MSINET.OCX (Microsoft Internet Transfer Control) from within my VFP7 application to send and update data from/to a big retail organization having more than 200 locations. Almost Everywhere it is working fine, but at some locations it is not working (it returns either state no 0 or 11 for failed to connect to remote server), We have tried all things at our end (including formating HDD, reinstalling WinXp etc.) but never succeed.
>
>Is there any way out to the above prob. I'm really stuck in this. Please Help
>
>Thanks
>
>Raoshan