all groups > dotnet compact framework > september 2003 >
You're in the

dotnet compact framework

group:

Newbie Serialization Question. Am I thinking about this the right way?


Newbie Serialization Question. Am I thinking about this the right way? David Hearn
9/29/2003 10:32:55 PM
dotnet compact framework:
I have a VB.Net application on a desktop PC that uses an Access 2000
database to store records. At the desktop level, I need the user to be
able to choose certain records to send to the PocketPC so that the
PocketPC user can take off with it, make changes to the records and
then bring them back to the desktop PC and have the original records
updated. My understanding is that I can serialize the records to XML,
send them to the PocketPC through the cradle and then have the records
deserialize and update when the PocketPC user slips it back into the
cradle.

My questions are did I miss any steps and how does the desktop app
know to get updated when the PocketPC is returned to the cradle? Is
there something with ActiveSync that needs to be set up? Can someone
point me to any articles or tutorials walking me through a situation
like I have explained or any good books that explain this?

I thought about just serializing a datset and sending the records over
that way, but since I don't have OleDb objects to work with on the CF
side of this, I guess I can't.

Re: Newbie Serialization Question. Am I thinking about this the right way? Ginny Caughey [MVP]
9/30/2003 5:45:13 PM
David,

You can use the Remote API (Rapi) in your desktop app to send and receive the
XML files. You can find sample code on www.opennetcf.org in the Communication
section.
--
Ginny Caughey
Windows Embedded MVP

[quoted text, click to view]

AddThis Social Bookmark Button