|
-
Jun 26th, 2007, 08:12 AM
#1
Thread Starter
Member
<RESOLVED>HT copy files from laptop to PDA
I have a VB6 program that needs to send files using TCP/IP wirelessly to a PDA. I am using sockets but cannot find a way to copy the files. Any ideas? Thanks!!
Last edited by davros51; Jun 27th, 2007 at 06:44 AM.
-
Jun 26th, 2007, 08:15 AM
#2
Fanatic Member
Re: HT copy files from laptop to PDA
I think you will have to send the contents of the files, and create new files with that content on the receiver.
- Use the thread tools to Mark your Thread as Resolved when your question is answered.
- Please Rate my answers if they where helpful.
-
Jun 26th, 2007, 09:36 AM
#3
Thread Starter
Member
Re: HT copy files from laptop to PDA
I think I am doing that, correct me if I am off base. I am taking the file and reading it into a string. I then put that string in an XML file and send the file to the PDA. Unfortunately, once the XML file reaches the VB .NET program on the PDA it cannot be loaded into an XML document. I think this is because the embedded file is binary but I am not sure. Is there a simpler way than using XML?
-
Jun 26th, 2007, 09:53 AM
#4
Fanatic Member
Re: HT copy files from laptop to PDA
why puting it in an XML-file.
Couldn't you just, send the string you are reading from file?
- Use the thread tools to Mark your Thread as Resolved when your question is answered.
- Please Rate my answers if they where helpful.
-
Jun 26th, 2007, 04:10 PM
#5
Re: HT copy files from laptop to PDA
Get the file into a binary array, move that array into a string variable and send the string. On the receiving end, move the string into a binary array and Put it to a file.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jun 27th, 2007, 06:39 AM
#6
Thread Starter
Member
Re: HT copy files from laptop to PDA
Thanks! I think that will solve the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|