01-12-2011, 08:28 PM
(01-12-2011, 03:13 PM)iBored1x1 Wrote: My way also works, it's smaller and can be modified to set a timeout. (The 2000 is how much time it'll take to try to ping before timing out)
Code:If My.Computer.Network.Ping("http://www.google.com", 2000) Then
MsgBox("Connected")
Else
MsgBox("Not Connected")
End If
Ok one more time, here is the best website that should always be up if you have any internet connection: your effing router. 192.168.1.1