okay, so here is the code I'm playing with:
That works great and all... but what happens if my Internet Connectivity goes down? Well, the application crashes on me.
Is there a better way to go about this? I've looked around and have only come up with this code (above).
Thanks in advance!
VB.NET:
If My.Computer.Network.Ping("serverAddress", 1000) Then
MsgBox("Server pinged successfully.")
Else
MsgBox("Ping request timed out.")
End If
That works great and all... but what happens if my Internet Connectivity goes down? Well, the application crashes on me.
Is there a better way to go about this? I've looked around and have only come up with this code (above).
Thanks in advance!