Jim, I think the corect solution would be to do ping on an external ip first. If that is positive then you are connected. Trouble is all these options seems to fire up the auto dialler if you are not connected.
>Doyle,
>
>FWIW, Mike's API call says I am not connected - yet here I am ;-) Also, InternetCheckConnection in the same DLL says I use a modem to connect. No modem, just a configured VPN connection (not used for the Internet). I'm behind a transparent proxy server, with no client software or setup needed.
>
>Bottom line, if you find a foolproof method, please share it.
>
>>Jos, Thanks. The IE options apparently have no effect on this... VFP9 attempts to connect to the internet so it can support the Task Pane Manager and it's internet links. In my experience, it will seek a connection regardless of the IE options settings, so I thought there might be a program command to do the same.
>>
>>Regards,
>>
>>dg
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.