Detect ActiveSync connection or internet connection

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Can I have an event raised in my VB .NET app when the Pocket PC is placed in
the cradle and an ActiveSync connection is made?

There have been some previous posts about this, but I haven't figured out
how to do it yet.

Someone mentioned the OpenNetCF communication library, but I couldn't find
any documentation about this on the web site.
 
The OpennetCF library documentation is here
http://www.opennetcf.org/docs/Communication/OpenNETCF.Desktop.Communication.html
and it's definitely the way to go. You'll want to look to the ActiveSync
class in particular
http://www.opennetcf.org/docs/Communication/OpenNETCF.Desktop.Communication.html
They did a killer job with the whole SDF but I'm particularly fond of the
communication library.

I wrote a brief discussion here
http://www.devbuzz.com/content/zinc_network_connectivity_pg1.asp but you'll
learn a lot more by going through the code at OpennetCF b/c mine just
determines connectivity by inference..

HTH,

Bill
 
Back
Top