Detect ActiveSync connection or internet connection

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.
 
W

William Ryan eMVP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top