Results 1 to 4 of 4

Thread: Help Please! Using Winsock Send Image with Byte

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Posts
    148

    Post Help Please! Using Winsock Send Image with Byte

    I write example here for some reason is don't work

    can anyone help me out here? thank you
    Attached Files Attached Files

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

    Re: Help Please! Using Winsock Send Image with Byte

    What does "don't work" mean? What does it do that it's not supposed to do? What doesn't it do that it i supposed to do? Are you getting errors? If so, what errors and on what lines?

    I've attached a zip of your files, because most people can't handle rar files.

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

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Posts
    148

    Re: Help Please! Using Winsock Send Image with Byte

    using string send file or image with vb only wrok on in english windows
    if using chinese windows string char most of char will so chr(0) and i have to use byte to send.

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

    Re: Help Please! Using Winsock Send Image with Byte

    Because VB controls don't handle Unicode characters, so you have to send each byte separately. That's how VB works. It's not Winsock or your code that isn't working, it's VB that doesn't work on Unicode unless you write code to handle Unicode.
    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

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