connection manager ExclusiveConflict

Last post 07-01-2009 5:07 by simcario. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-01-2009 5:07

    connection manager ExclusiveConflict

    How can I establish an internet connection using GPRS from my Pocket Pc application?

    I tried this code but in gprs.Status i have ExclusiveConflict {40}. Where is the problem?

         Public gprs As New ConnectionManager

     Dim server As String = "http://www.google.com"
            Dim connected As Boolean = False

            gprs.Connect(gprs.MapUrl(server), False, ConnectionMode.Asynchronous)
            Application.DoEvents()

            While gprs.Status <> ConnectionStatus.Connected
                System.Threading.Thread.Sleep(2000)
                Application.DoEvents()


            End While

Page 1 of 1 (1 items)