Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If _Win32.InternetGetConnectedState = _Win32.Connection.Connected Then
MessageBox.Show("you are connected to the net")
Else
MessageBox.Show("you are NOT connected to the net")
End If
End Sub