Copy file from network to PocketPC

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Check out RAPI library at www.opennetcf.org

/ Peter


VB.Net Newbie - Wireless app said:
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?
 
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 said:
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?
 
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.
 
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 said:
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....
 
Back
Top