PC Review


Reply
Thread Tools Rate Thread

Copy file from network to PocketPC

 
 
=?Utf-8?B?VkIuTmV0IE5ld2JpZSAtIFdpcmVsZXNzIGFwcA==
Guest
Posts: n/a
 
      16th Feb 2004
Hi

Im new to all this PocketPC programming ..

Im using VS 2003, VB.Net. How do I programmatically copy a file from 'ComputerX' on network to my PocketPC through VB.NET code? Its got to be done wirelessly. Any Sample code?

Thanks lots.
 
Reply With Quote
 
 
 
 
Peter B
Guest
Posts: n/a
 
      16th Feb 2004
Check out RAPI library at www.opennetcf.org

/ Peter


"VB.Net Newbie - Wireless app" <(E-Mail Removed)> wrote
in message news:F825507B-9E94-4748-9B84-(E-Mail Removed)...
> Hi,
>
> Im new to all this PocketPC programming ...
>
> Im using VS 2003, VB.Net. How do I programmatically copy a file from

'ComputerX' on network to my PocketPC through VB.NET code? Its got to be
done wirelessly. Any Sample code?
>
> Thanks lots.



 
Reply With Quote
 
Armon
Guest
Posts: n/a
 
      17th Feb 2004
I use this wireless transfer all the time. All I do is use the
\\mycomputer\c\. I used the file explorer to access the computer I wanted
and copied down the path displayed then used the same format in the program
code.

'dim fpath as string = "\\mycomputer\c\" 'external computer file path
'dim fpath as string = "\storage card\

'Dim fpath As String = "\program files\communicator\setpath.txt"
'internal file structure

Dim sr As StreamReader = File.OpenText(fpath)
Dim input As String

input = sr.ReadLine()

sr.Close()

I can access two hardwired or wireless laptop computers.
Open/close/create/delete, it doesn't matter.

Hope this helps.

"VB.Net Newbie - Wireless app" <(E-Mail Removed)> wrote
in message news:F825507B-9E94-4748-9B84-(E-Mail Removed)...
> Hi,
>
> Im new to all this PocketPC programming ...
>
> Im using VS 2003, VB.Net. How do I programmatically copy a file from

'ComputerX' on network to my PocketPC through VB.NET code? Its got to be
done wirelessly. Any Sample code?
>
> Thanks lots.



 
Reply With Quote
 
=?Utf-8?B?TmV3Qmll?=
Guest
Posts: n/a
 
      17th Feb 2004
Hi,

Thanks a million Armon. I tried it and it WORKED brilliantly. I read other posts on this newsgroup that suggested using stuff like webservers, FTP, webservices....

Im glad its only a couple of lines of code :-)

Thanks.
 
Reply With Quote
 
Armon
Guest
Posts: n/a
 
      18th Feb 2004
It took a lot of research to find that little key. When I asked the same
basic question, I got a lot of sophisticated answers way above my experience
level.

"NewBie" <(E-Mail Removed)> wrote in message
news:EEF2FC2B-50AE-49B1-8A8E-(E-Mail Removed)...
> Hi,
>
> Thanks a million Armon. I tried it and it WORKED brilliantly. I read

other posts on this newsgroup that suggested using stuff like webservers,
FTP, webservices....
>
> Im glad its only a couple of lines of code :-)
>
> 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
WinVista file copy network timeout to WinXP for file Outlook.pst 2007 Sharpy Microsoft Outlook Discussion 4 29th Apr 2009 06:37 AM
Copy files from PocketPC to desktop computer? George Ivanov Microsoft Dot NET Compact Framework 6 23rd Jul 2005 07:33 AM
How do I copy contacts from my pocketpc to my computer? =?Utf-8?B?Zml4ZW0=?= Microsoft Outlook Contacts 2 28th Sep 2004 05:07 PM
Building installers for PocketPC 2000 and PocketPC 2002 using Visual Studio .NET 2003 Antao Almada Microsoft Dot NET Compact Framework 1 9th Sep 2004 10:54 AM
copy a file from pc to pocketpc (pocketpc initiated!) =?Utf-8?B?UGlldGVy?= Microsoft Dot NET Compact Framework 0 4th Mar 2004 02:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 AM.