File transfer times from desktop to device

R

rb

using VB.Net 2003; WinCE 4.2; ActiveSync 3.8

connection between desktop and device is via USB port.

the .Net desktop program is currently using CopyFileToDevice() from
OpenNetCF.Desktop.Communication.RAPI to copy multiple files from the desktop
to the WinCE device. total combined size of files is approximately 10MB.
largest file is 5MB.

the copy time is 4 minutes when using the CopyFileToDevice() method from
within the program. however, when i use [Copy] and [Paste] via File
Manager, the transfer takes approximately 1 minute.

so, i am curious as to how there can be such a large difference in this
time? are there any parameter values i might set to have better performance
from the CopyFileToDevice() method?

thanks in advance for any insight or help on this.
 
E

Earl

I"m guessing you are talking about debugging or run from the IDE. I have no
precise estimate, despite a lot of time doing so, but it's usually 1-2
minutes at least (assuming the deploy went well).
 
M

Marc Bartsch

Hi,

Thanks for this article. I tried it out and it worked nicely. There is
one problem, though, that I have:

I created a setup project with Visual Studio 2005 in order to install a
desktop application and a mobile device application at the same time.
Now, the installation works fine. The desktop application will be
installed on the PC and with the help your this custom installer class,
Active Sync installs my app on the mobile device. So far, so good. The
problem is, that I also created a shortcut to the desktop application on
the User's PC desktop. Without the mobile application in my setup
project, this worked fine so far. When I double-click this shortcut
after an installation, not only does my desktop app start, but also
Active Sync tries to to reinstall my mobile app, too! I looked at the
properties of this shortcut and the target field is grayed out and it
does not point to my desktop executable but to the name of my app. (??)
It seems that this shortcut is not the same kind of shortcut that I used
to get. I checked my setup project in Visual Studio 2005, but there the
shortcut targets the primary output of my windows desktop application
and nothing else.

Anyone an idea what is going on here?

Thanks a lot,

Marc.
 

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

Top