Hi Vince,
that`s exactly what I intend to do, but I thought I would need to somehow
customise the way ActiveSync works, but as you say itīs probably the way to
go: to use the ActiveSync capabilities to sync either a .txt or .xml file or
the Import/Export database. We will need the info from a SAP database, so it
depends (I donīt know yet) on how SAP gives us the data. The format does not
matter much to me really, my main concern was how to sync, and I think your
approach suits me pretty well.
Thanks, from Spain
Vince Chin wrote:
:: Hi Juan,
::
:: If your requirement is to only retrieve one or two files then why
:: not just use the inbuilt file synchronisation provided in
:: ActiveSync. This obviously would involve the user creating a
:: partnership and putting the files in the synchronised folder and
:: after synchronisation these files would appear in the handheld's
:: sync'd folder.
::
:: This is the solution we've chosen for its simplicity using XML files
:: as the datasource, also we did not want to have to develop an app
:: for the desktop too. On the handheld we programmatically take the
:: files from the handheld's sync'd folder to a temp folder where we
:: update the files. Once our processing has finished we copy the file
:: over the original which then gets synchronised back to the desktop
:: via ActiveSync.
::
:: Just an idea I thought may be of use to you.
::
:: Regards
::
:: Vince Chin
::
http://www.netxposure.net
::
::
::
::
::
:: ----- Juan wrote: -----
::
:: Hi everyone,
::
:: I am about to develop my first app for PocketPC. Basically,
:: what I need to do is to connect to a PC and retreive a file
:: (which can be a text file, a database, or an XML file, we still
:: havenīt decided).
::
:: My question is... is ActiveSync accessible through an object
:: model? Is it versatile enough (for example, can I tell
:: ActiveSync to retreive only certain files depending on the
:: PocketPC device that is connecting)? Is it better (or even
:: possible) to write my own Sync app?
::
:: Thanks, from Spain
::
:: Juan Magaņa