Win CE communication with server ?

OK this is a theoretical question ..

If someone had a PDA device with windows CE on and a main database (access) on an ASP server. How would the PDA device recieve updates of 'that' database from the server?? so if there was a new order or something it would be recieved by the PDA too ?? How could/would this work ?
JamesBrownIIIAsked:
Who is Participating?
 
Mikal613Connect With a Mentor Commented:
What you wanna do is Make a server client Program . One the server which sits on the server waiting for requests or updates. Using XML and a Web Service the PPC and the server can communicate with XML VIA the webservice. The Server will write the xml file on the server and the PPC picks up that file with the info and Populates it to the user.
0
 
cindy_kConnect With a Mentor Commented:
It's difficult to get a PDA to receive updates from Server without the PDA requesting the information first.
I'm going to assume that your PDA has a 802.11b network card in it and is on a Wireless LAN.

What I would do if I needed such a functionality is write a background C++ application that calls an ASP webpage on the server every minute or so to check to see if there are any new orders.

Using the InternetOpen functions provided by Microsoft its pretty simple to create this application. The Webpage would be setup to return the new data in a Text Delimited format that the background application would process and send to whatever application is running for the users to interact with.

The reason I have the PDA make the request is because PDA are mobile battery run devices. They go to Sleep, the battery dies, and they get moved out of network range. All of these things make it difficult for the server to contact them directly.

For a good reference book on how to use the InternetOpen functions, get "Windows CE 3.0 Application Programming" by Nick Grattan and Marshall Brain.
http://www.amazon.com/exec/obidos/tg/detail/-/0130255920/qid=1068476664/sr=8-1/ref=sr_8_1/002-3251563-7642432?v=glance&n=507846

Hope this helps,
Cynthia
0
 
JamesBrownIIIAuthor Commented:
Can you explain a bit more that idea you seggested Mika ??
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.