Click here to get back home

how to read and write a xml file into a PDA phone thru desktop vb.net application

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to read and write a xml file into a PDA phone thru desktop vb.net application justinnpravin 01-31-2008
Get Chitika Premium
Posted by justinnpravin on January 31, 2008, 8:02 am
Please log in for more thread options
hi all,
First thing is that , when a PDA is plugged in it shouuld detect the
connection and the desktop appln should start sync.. with the PDA to
get the config file.
based on config file the xml file should be copied to or read from
the specified path in PDA.

plz help me.

Posted by dbgrick on January 31, 2008, 10:23 am
Please log in for more thread options
You could write an activeSync provider, but I've done this and it is kind of
tedious or you could use RAPI to transfer the file directly from the PC when
you detect an activeSync connection or finally you could wire up the
SystemState Changed event using the SystemProperty.ActiveSyncStatus property
in the constructor on the pda side. Then you use the Changed event handler
to detect an activeSync conenction and pull the file or write the file back
to your PC.

Regard,
Rick D.

"justinnpravin@gmail.com" wrote:

> hi all,
> First thing is that , when a PDA is plugged in it shouuld detect the
> connection and the desktop appln should start sync.. with the PDA to
> get the config file.
> based on config file the xml file should be copied to or read from
> the specified path in PDA.
>
> plz help me.
>

Posted by r_z_aret on January 31, 2008, 4:10 pm
Please log in for more thread options
On Thu, 31 Jan 2008 05:02:09 -0800 (PST), justinnpravin@gmail.com
wrote:

>hi all,
>First thing is that , when a PDA is plugged in it shouuld detect the
>connection and the desktop appln should start sync.. with the PDA to
>get the config file.
>based on config file the xml file should be copied to or read from
>the specified path in PDA.

You can use RAPI in a desktop application to manipulate files and data
on an attached handheld; for info, loop up CeReadFile and relatives.
For info about making sure the app starts when a handheld is
connected, see my 22 Oct 2003 contribution to a thread called "How to
check Pocket PC is Connected or not?" in
microsoft.public.pocketpc.developer.

>
>plz help me.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please
indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Similar ThreadsPosted
How to read data from EXCEL file from my application for win mobil April 23, 2008, 6:16 am
AlarmOn read and write May 4, 2006, 2:34 am
management tree READ/WRITE APIs May 3, 2006, 1:20 am
How to move or delete a file marked read only or system file attributes? August 23, 2006, 7:12 pm
Determine mobile phone operator from desktop July 20, 2005, 9:33 am
Copying a file fromMS Smartphone to desktop PC October 24, 2005, 9:49 am
desktop application gets info stored in device October 24, 2007, 11:52 am
Syncing Contacts/Calendar/Tasks from a desktop application. September 23, 2008, 9:20 am
read & write to registry on smartphone, pocket pc works smartphone doesn't July 7, 2005, 4:34 pm
Cannot write a file!! May 7, 2008, 11:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap