Hi guys,

I have a number of mobile devices which will be connected, one at a
time, to a PC. (USB connection + ActiveSync.) I need to run a program
(C#) in the host PC that can access each device's memory in turn and
exchange files with them.

Here's the catch; I'd like to *not* have to run a program from each
device as I place it on the cradle, relying instead on the included
ActiveSync features. I.e., it should be as easy as placing the next
device and pressing a key in the host PC.

I'm having trouble getting to the appropriate folder. Using the
"Explore" button in ActiveSync gives me the "Mobile Device" folder,
from where I can navigate to the appropriate drive -- but I can't get
there any other way. If I use an OpenFileDialog it never shows me the
device in My Computer, even though Windows Explorer does.

Any hints?

Thanks in advance!

Cheers,

Pedro.

Re: Accessing files in mobile device programmatically from a PC by ctacke/>

ctacke/>
Fri Mar 07 08:46:27 CST 2008

Explorere is using a shell extension, so you can't do it that way. You need
to use RAPI.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Shade" <pedromr@gmail.com> wrote in message
news:899f9afd-230d-4439-9c84-2fdc829afff9@m34g2000hsc.googlegroups.com...
> Hi guys,
>
> I have a number of mobile devices which will be connected, one at a
> time, to a PC. (USB connection + ActiveSync.) I need to run a program
> (C#) in the host PC that can access each device's memory in turn and
> exchange files with them.
>
> Here's the catch; I'd like to *not* have to run a program from each
> device as I place it on the cradle, relying instead on the included
> ActiveSync features. I.e., it should be as easy as placing the next
> device and pressing a key in the host PC.
>
> I'm having trouble getting to the appropriate folder. Using the
> "Explore" button in ActiveSync gives me the "Mobile Device" folder,
> from where I can navigate to the appropriate drive -- but I can't get
> there any other way. If I use an OpenFileDialog it never shows me the
> device in My Computer, even though Windows Explorer does.
>
> Any hints?
>
> Thanks in advance!
>
> Cheers,
>
> Pedro.



Re: Accessing files in mobile device programmatically from a PC by Shade

Shade
Fri Mar 07 12:35:11 CST 2008

On Mar 7, 11:46 am, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
> Explorere is using a shell extension, so you can't do it that way. You need
> to use RAPI.

Thanks. I've managed to get OpenNETCF's Destop.Communication working
with VS2003. Worked like a charm. :)

Cheers!