well u can manually check for pc connectivity using the following code:
which i found on
http://www.devbuzz.com/content/zinc_network_connectivity_pg1.asp
Imports System.Net
#Region "Enums"
Public Enum CradleResult As Integer
Cradled = 0
Uncradled = 1
WebException = 2
OtherException = 3
End Enum
#End Region
'Class Definition here
Const Home as String = "127.0.0.1"
#Region "Functions"
Public Shared Function IsDeviceCradled() as CradleResult
Try
Dim HostName as String = Dns.GetHostName()
Dim IPHost as System.Net.IPHostEntry = Dns.GetHostByName(HostName)
Dim DeviceIP as String = CType(IPHost.AddressList(0), String)
If DeviceIP <> IPAddress.Parse(Home).ToString Then
Return CradleResult.Cradled
Else
Return CradleResult.Uncradled
End If
Catch webEx as System.Net.WebException
Return CradleResult.WebException
Catch othEx as System.Exception
Return CradleResult.OtherException
End Try
End Function
#End Region