Push from PPC to desktop through ActiveSync

  • Thread starter Thread starter Vince
  • Start date Start date
V

Vince

I need to be able to place a PocketPC into the cradle,
press a button in a VB.net program on the PocketPC and
then transfer some files to the computer on the other end
of the cradle.

I want to make this as easy and flexible as possible for
the end user whom might not have the greatest
understanding of technology. I need to be able to place
the PPC into any cradle attached to any computer and do
this by the click of a button.

Any suggestions on where I should be looking for help on
this?
 
Vince,

Check out the Rapi class in the Communication section on www.opennetcf.org.
You can create your VB.Net app to be as friendly as you like.
 
I had thought that the Rapi class is for apps running on
the desktop?

I need to have the app on the PPC do all the work.

Can I still do this with the Rapi class?
 
No, the Rapi app must run on the desktop. You could write an ActiveSync
provider in eVC++ to customize ActiveSync's behavior, but you don't really
have the same flexibility as writing a desktop replacement using Rapi.
 
You can make an application (eg the desktop RAPI application) start up
automatically when ActiveSync connects - such as when the device is placed
in the cradle.

To do this the following PC registry entry must be set

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect

to the name of the application to execute and any parameters for example:

"notepad" "C:\\temp.txt"

John.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top