Copy file from network to PocketPC

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.
 
P

Peter B

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?
 
A

Armon

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?
 
G

Guest

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.
 
A

Armon

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....
 

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