Originally posted by Narva
I am not sure Jase but take a look on function InternetGetConnectedState:

http://support.microsoft.com:80/supp...NoWebContent=1
Been there, done that Doesn't work as described...