Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Transfering and recieving images using winsock??

Question posted by: 313 Games (Guest) on January 4th, 2007 01:25 PM
subject.

and plus: i want to show the recieved image in a picturebox and the sending
image from a picturebox..

how to? i already tried some googling...


Dean Earley's Avatar
Dean Earley
Guest
n/a Posts
January 4th, 2007
01:45 PM
#2

Re: Transfering and recieving images using winsock??
313 Games wrote:
Quote:
subject.
>
and plus: i want to show the recieved image in a picturebox and the sending
image from a picturebox..
>
how to? i already tried some googling...


You'd need to encode it to a data stream first.
You can use JPEG (requires a 3rd party DLL), Bitmap (save to disk and
send that), Bitmap/Packed DIB in memory (numerous API calls), or many
others.
You may want to check the graphics code at www.vbaccelerator.com

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

313 Games's Avatar
313 Games
Guest
n/a Posts
January 4th, 2007
01:55 PM
#3

Re: Transfering and recieving images using winsock??
bitmap (save to disk and send that),

how do i save an image from an picturebox?



Dean Earley's Avatar
Dean Earley
Guest
n/a Posts
January 4th, 2007
02:05 PM
#4

Re: Transfering and recieving images using winsock??
313 Games wrote:
Quote:
Quote:
>bitmap (save to disk and send that),

>
how do i save an image from an picturebox?


The SavePicture() method.
The VB help has few examples on how to do this.

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

313 Games's Avatar
313 Games
Guest
n/a Posts
January 4th, 2007
02:25 PM
#5

Re: Transfering and recieving images using winsock??
The SavePicture() method.
Quote:
The VB help has few examples on how to do this.


ok, thanks :) i should come out with my program now :D



 
Not the answer you were looking for? Post your question . . .
189,798 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors