Thanks Peter!!!
Another question, Because my desktop app is not an ActiveSync service
provider, the activeSync has no idea how when my desktop will finish the job
so while my desktop application is busy doing the job, the activeSync
connection could be closed before the desktop app copy back the updated
results back to PPC, Is there a way to either keep the connection open or
re-instaniate the connection from desktop app (C# code)?
Thanks!
John
"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'll find the keys described in this article on "Registry Based
> Notification":-
>
http://msdn.microsoft.com/library/de...tification.asp
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
>
> In The Hand
> http://www.inthehand.com
>
> "John Lee" <john-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Thanks a lot, Chris!!!
> >
> > Sounds great solution - Could you please tell me which registry key
needed
> > to be set so when ActiveSync makes a connection my Desktop app will be
> > called?
> >
> > Again, thanks a lot - you are my life saver!
> >
> > John
> >
> > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > You cannot create a full-blown ActiveSync provider with manager code,
> > > however I don't think you need one for these requirements. Simply
> create
> > a
> > > desktop app that run when ActiveSync makes a connection (simple
registry
> > key
> > > registration). That app can use RAPI to copy the XML files from the
> > > connected device to the PC and to send data back to the PPC.
> > >
> > > Check out www.opennetcf.org/communication.asp
> > >
> > > --
> > > Chris Tacke, eMVP
> > > Advisory Board Member
> > > www.OpenNETCF.org
> > > ---
> > > Windows CE Product Manager
> > > Applied Data Systems
> > > www.applieddata.net
> > >
> > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > Hi,
> > > >
> > > > I want to develop a solution like this:
> > > >
> > > > data flow:
> > > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > > >
> > > > Usage:
> > > > PPC will update data offline and want to sync back to DB when
> > > connected
> > > >
> > > > Upon Sync:
> > > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop
> computer
> > > > 2. ActiveSync will CALL(?) Desktop app to process the xml file
(if
> > any
> > > > change, apply it then get new dataset from DB and send back to PPC
> > > >
> > > > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact
> > > framework,
> > > > I am new with PPC development and esp. need help on HOW TO write app
> and
> > > > REGISTER it with ActiveSync and my Desktop app will be launched upon
> > Sync
> > > > time. Can anyone point me a sample that use VB.NET or C#? Is it
> possible
> > > to
> > > > do this without using C++?
> > > >
> > > > Thanks very much!
> > > >
> > > > John
> > > >
> > > >
> > >
> > >
> >
> >
>
>