Download my registry module from my homepage and use this:
I haven't tested it but it should work, or else you could figure out what it returns when you're offline and then put in on the right side of <>Code:Connected=RegVal ("HKEY_DYN_DATA\PerfStats\StatData\Dial-Up Adapter" & vbNullChar & "TotalBytesRecvd") <> String(4, vbNullChar)





Reply With Quote