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!!
Printable View
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!!
I think you will have to send the contents of the files, and create new files with that content on the receiver.
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?
why puting it in an XML-file.
Couldn't you just, send the string you are reading from file?
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.
Thanks! I think that will solve the problem.