Connecting Tech Pros Worldwide Help | Site Map

Transfering and recieving images using winsock??

  #1  
Old January 4th, 2007, 02:25 PM
313 Games
Guest
 
Posts: n/a
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...


  #2  
Old January 4th, 2007, 02:45 PM
Dean Earley
Guest
 
Posts: n/a

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
  #3  
Old January 4th, 2007, 02:55 PM
313 Games
Guest
 
Posts: n/a

re: Transfering and recieving images using winsock??


bitmap (save to disk and send that),

how do i save an image from an picturebox?


  #4  
Old January 4th, 2007, 03:05 PM
Dean Earley
Guest
 
Posts: n/a

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
  #5  
Old January 4th, 2007, 03:25 PM
313 Games
Guest
 
Posts: n/a

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