>This question was asked quite a while ago and I seem to recall Tore posting a response. Unfortunately, I no longer have the code.
>
>How can I determine if my workstation has a live internet connection? The goal is to build a log showing up/down time so this will need to run from a timer.
>
>Thanks to all...........Rich
Do you mean this simple function?
Function InternetOK
LParameters m.URL
#define FLAG_ICC_FORCE_CONNECTION 0x01
DECLARE INTEGER InternetCheckConnection IN wininet STRING lpszUrlSTRING, INTEGER dwFlags,;
INTEGER dwReserved
Return InternetCheckConnection(m.URL,FLAG_ICC_FORCE_CONNECTION,0)=1