Results 1 to 6 of 6

Thread: <RESOLVED>HT copy files from laptop to PDA

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    58

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

  2. #2
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    58

    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?

  4. #4
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    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.

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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

  6. #6

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    58

    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
  •  



Click Here to Expand Forum to Full Width