Connecting Tech Pros Worldwide Forums | Help | Site Map

Transfering and recieving images using winsock??

313 Games
Guest
 
Posts: n/a
#1: Jan 4 '07
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
Guest
 
Posts: n/a
#2: Jan 4 '07

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
Guest
 
Posts: n/a
#3: Jan 4 '07

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
Guest
 
Posts: n/a
#4: Jan 4 '07

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
Guest
 
Posts: n/a
#5: Jan 4 '07

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


Closed Thread