Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TuToRiAl] How to Check if theres any Internet Connection [TuToRiAl]
#18
(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
[Image: t5BWm.png]
Reply


Messages In This Thread
RE: [TuToRiAl] How to Check if theres any Internet Connection [TuToRiAl] - by Resistance - 01-12-2011, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [HELP]Tutorial/Learning System[HELP] norBATman 2 1,327 09-08-2012, 10:17 PM
Last Post: AceInfinity
  [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] Resistance 24 12,675 08-30-2012, 10:14 PM
Last Post: Resistance
  [Visual Basic] FTP Uploader [Tutorial] Coding Support 6 3,042 08-12-2012, 12:36 AM
Last Post: Kenneth
  [RELEASE]SF-TutPad "Tutorial Editor" [RELEASE] Digital-Punk 28 10,310 08-11-2012, 11:25 PM
Last Post: Kenneth
  Emailer Tutorial dunlop03 12 2,901 06-24-2012, 04:33 AM
Last Post: kpn37z

Forum Jump:


Users browsing this thread: 13 Guest(s)