01-11-2011, 02:37 AM
Whats wrong with:
Much simpler and does the task...
Code:
If My.Computer.Network.IsAvailable = True Then
MsgBox("Computer is connected.")
Else
MsgBox("Computer is not connected.")
End If
Much simpler and does the task...