Anyone aware of a reason that the following code would take 15 seconds (rather than two seconds) to display the MsgBox when I unplug my network cable? Also, @error is 0 even though ping failed. Hmmm... $PingTime = Ping("www.google.com",2000) MsgBox(0, "", "$PingTime = " & $PingTime) MsgBox(0, "", "@error = " & @error) This thread ended with basically the same question a while back: