PC Review


Reply
Thread Tools Rate Thread

How do you reference a file on a handheld ?

 
 
Rob
Guest
Posts: n/a
 
      27th Jun 2006
I simply want to copy a file using the File.Copy(strSource,strDest) format

On a handheld device how do you reference a file.... what is the beginning
of the path ?

On a server it is \\servername\folder

On a desktop it is C:\Foldername

I see my handheld has My Device as a root... I tried referencing it as \\My
Device but that does not appear to work.

Thanks !


 
Reply With Quote
 
 
 
 
Bipin_Expert
Guest
Posts: n/a
 
      27th Jun 2006
Hi,
You need to use single slash for referencing the path. It is
like:

\My Device\folder
\Program Files\YourApp

Regards,
Bipin Kesharwani
(Developer)

Palewar Techno Solutions
Pocket PC & Mobile Software Development
Nagpur, India

http://www.palewar.com


Rob wrote:
> I simply want to copy a file using the File.Copy(strSource,strDest) format
>
> On a handheld device how do you reference a file.... what is the beginning
> of the path ?
>
> On a server it is \\servername\folder
>
> On a desktop it is C:\Foldername
>
> I see my handheld has My Device as a root... I tried referencing it as \\My
> Device but that does not appear to work.
>
> Thanks !


 
Reply With Quote
 
Guest
Posts: n/a
 
      27th Jun 2006
Your device shows up that way becasue of a shell extension in ActiveSync.
It's not actually reachable as a file path from teh desktop. To copy to/from
the device from the PC, you need to use RAPI. Take a look at this:

www.opennetcf.org/communication

-Chris


"Rob" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
>I simply want to copy a file using the File.Copy(strSource,strDest) format
>
> On a handheld device how do you reference a file.... what is the beginning
> of the path ?
>
> On a server it is \\servername\folder
>
> On a desktop it is C:\Foldername
>
> I see my handheld has My Device as a root... I tried referencing it as
> \\My Device but that does not appear to work.
>
> Thanks !
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need new pst file from handheld info =?Utf-8?B?bWFzdGVyY2xlYW41?= Microsoft Outlook Discussion 1 20th Sep 2007 09:31 AM
FTP file from Handheld to FTP server wireless? =?Utf-8?B?ZWxlbmE=?= Microsoft Dot NET Compact Framework 2 25th Jul 2007 09:10 PM
How do I access text file on handheld from PC John Kelsey Microsoft Dot NET Compact Framework 3 3rd Nov 2006 06:33 PM
type mismatch ... mixing of a file reference with project reference? Rob R. Ainscough Microsoft Dot NET 0 2nd Jun 2006 12:41 AM
my handheld pc is connected but my handheld screen is blank he. =?Utf-8?B?Y3V0aWUgcGll?= Microsoft Outlook 0 9th Sep 2004 04:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 PM.