Cancelado

windows mobile 6.5 check for connectivity on background thread

I have an application written for windows mobile 6.5 using vb.net. The application uses Microsoft Merge Replication. I would like to use a timer on a background thread to check for internet connectivity and update the UI by changing the color of the control. I then want to fire the async method IF the connection is successful. See sample below

Public Sub syncme()

'*********

'Can I run a background thread right here to control whether the following try block runs or not

'*********

Try

[url removed, login to view] = New SqlCeReplication()

[url removed, login to view] = "Data Source=\Program Files\SEUdock\[url removed, login to view]"

[url removed, login to view]()

' [url removed, login to view] = True

Dim ar As IAsyncResult = [url removed, login to view](New AsyncCallback(AddressOf [url removed, login to view]), _

New OnStartTableUpload(AddressOf [url removed, login to view]), _

New OnStartTableDownload(AddressOf [url removed, login to view]), _

New OnSynchronization(AddressOf [url removed, login to view]), repl)

Catch ex As SqlCeException

' Exit Sub

Dim frm As mySettings = New mySettings

[url removed, login to view]()

' [url removed, login to view]([url removed, login to view])

End Try

End Sub

Habilidades: VB.NET, Windows CE

Ver mais: internet catch, check notifications windows mobile, application mobile windows, myspace mobile windows, customer signature mobile windows, sip mobile windows dialer, sip client mobile windows

Acerca do Empregador:
( 4 comentários ) Hermitage, United States

ID do Projeto: #10504569

2 freelancers estão ofertando em média $225 para este trabalho

lillysoft

Sir i am really interested in your project . sir i am an expert of software and web development. i have already developed many web and windows applications and some are similar to your project . you can check my port Mais

$250 USD in 3 dias
(9 Comentários)
4.4
afornes

Hi, I'm a programmer for Windows Mobile from version 4.2 CE using C # and VB.net, I think I am qualified to carry out the project successfully. I'm currently finishing another project, in two days I could dedicate time Mais

$200 USD in 6 dias
(0 Comentários)
0.0