Re: Image data via Winsock
- From: "Steinar" <leebouf@xxxxxxxxxxx>
- Date: Fri, 5 Aug 2005 00:18:23 +0200
Ok Mike, I got that.
But there is a general misunderstanding in this thread: I don't think I
will have so much problems with transmitting the bitmap data even though I
will probably have to dig around for a while to figure that out. Your
directions to winsockvb.com proved very helpful. It is the process of
"breaking up" this same data where I have no clue whatsoever...
I am however getting pretty close.
What I would like the client application to be able to do (it is a dll
project), is to simply return a "tabular" array of data (which I already
have accomplished) if applicable or a stdpicture object if the data
transmitted is an image. When the image has arrived (just how doesn't
really matter right now), I only want to use something simple like
"Picture1.Picture = SomeObjectName.Picture"... It is the process of
creating this stdpicture within the dll that I need help with for now. The
firt reply I got (from Sinna) it is suggested that I "simply" pass the image
as byte array - but I don't know how to create that byte array, or use it
when it arrives at the client side.
I guess I'll just have to settle with having the server reading the file
from disk, transmitting it as normal, and then the client component would
have to write it to disk. Then that same component would have to open the
file as bitmap and make it available to the host application. I don't know,
this just seems a bit far-fetched.
Anyway, if nobody has a better idea I think I must use this method for now.
Thank you guys, you've been wonderful.
Irene
.
- Follow-Ups:
- Re: Image data via Winsock
- From: Mike Williams
- Re: Image data via Winsock
- From: Mike Williams
- Re: Image data via Winsock
- From: Sinna
- Re: Image data via Winsock
- References:
- Image data via Winsock
- From: Steinar
- Re: Image data via Winsock
- From: Sinna
- Re: Image data via Winsock
- From: Steinar
- Re: Image data via Winsock
- From: Mike Williams
- Re: Image data via Winsock
- From: Steinar
- Re: Image data via Winsock
- From: Mike Williams
- Image data via Winsock
- Prev by Date: Re: Image data via Winsock
- Next by Date: Cloning form and class module instances in VB6
- Previous by thread: Re: Image data via Winsock
- Next by thread: Re: Image data via Winsock
- Index(es):
Relevant Pages
|