You can also do this to see if you are online.
DECLARE INTEGER InternetAttemptConnect IN Wininet.dll integer InternetAttemptConnect
lnConnected = InternetAttemptConnect(0)
if lnConnected <> 0
&& Couldn't connect for some reason
endif
I think this only works if IE is set to autoconnect.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California