Re: Image data via Winsock



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


.



Relevant Pages

  • Re: Image data via Winsock
    ... 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. ... What I would like the client application to be able to do, is to simply return a "tabular" array of data if applicable or a stdpicture object if the data transmitted is an image. ...
    (comp.lang.basic.visual.misc)
  • Re: send-receive using CSocket
    ... > desktop image & sending it from server to client " i convert it to DIB ... > strong and reliable send-receive code?? ... Is your image a constant size buffer? ... What kind of package are you transmitting across the buffer? ...
    (microsoft.public.vc.mfc)
  • Worker threads on a webservice?
    ... I'm using a .NET2.0 client against a .NET2.0 webservice running on Server ... I'm transmitting several megabytes of data from the ... the webservice no longer answers requests from other clients. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to copy a integer length in a array.
    ... The array-based version even has to create a small temporary object (the array...of course Arne's version doesn't; his code does essentially what HostToNetworkOrder() does, just without the method call), which depending on how it's done could wind up being less readable _and_ less efficient. ... If you look at the code he posted, the only thing he uses the array for is transmitting it. ...
    (microsoft.public.dotnet.languages.csharp)
  • Stop Email Message from Sending Out.
    ... My client is trying to send an email with large ... another folder I get this error message "Can't open email. ... MAPI has alraedy began transmitting this message." ... outlook 2000. ...
    (microsoft.public.outlook)