>Does anyone have idea how to check existence of internet connection from VFP via WININET.DLL?
>Need to know is the user connected or not.
There are several methods, but none of them really dependable, except to test for the accessibility of a known online resource (PING, HttpGet, etc).
The one I use is
DECLARE INTEGER InternetAttemptConnect IN WinInet.dll INTEGER
?INternetAttemptConnect(0)=0
This one initiates a DUN dialog if needed, and waits until the connection succeeds or fails. It has worked dependably for me, but others have reported inconsistencies.
Erik Moore
Clientelligence