Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# interface inheritance Pin
DaveyM697-Mar-10 3:44
professionalDaveyM697-Mar-10 3:44 
GeneralRe: C# interface inheritance Pin
harold aptroot7-Mar-10 4:27
harold aptroot7-Mar-10 4:27 
GeneralRe: C# interface inheritance Pin
AspDotNetDev7-Mar-10 5:58
protectorAspDotNetDev7-Mar-10 5:58 
GeneralRe: C# interface inheritance Pin
harold aptroot7-Mar-10 6:24
harold aptroot7-Mar-10 6:24 
AnswerRe: C# interface inheritance Pin
Shane55557-Mar-10 4:08
Shane55557-Mar-10 4:08 
GeneralRe: C# interface inheritance Pin
AspDotNetDev7-Mar-10 4:16
protectorAspDotNetDev7-Mar-10 4:16 
GeneralRe: C# interface inheritance Pin
PIEBALDconsult7-Mar-10 14:24
mvePIEBALDconsult7-Mar-10 14:24 
QuestionOOPs And Debugging Techniques Pin
DotNetMan7-Mar-10 1:21
DotNetMan7-Mar-10 1:21 
AnswerRe: OOPs And Debugging Techniques Pin
dan!sh 7-Mar-10 1:28
professional dan!sh 7-Mar-10 1:28 
AnswerRe: OOPs And Debugging Techniques Pin
AspDotNetDev7-Mar-10 3:00
protectorAspDotNetDev7-Mar-10 3:00 
AnswerRe: OOPs And Debugging Techniques Pin
dybs7-Mar-10 15:22
dybs7-Mar-10 15:22 
AnswerRe: OOPs And Debugging Techniques Pin
N a v a n e e t h7-Mar-10 3:33
N a v a n e e t h7-Mar-10 3:33 
AnswerRe: OOPs And Debugging Techniques Pin
DotNetMan9-Mar-10 1:07
DotNetMan9-Mar-10 1:07 
QuestionPrint Message that is printed in Windows Service Application Pin
Abdul Rahman Hamidy7-Mar-10 0:50
Abdul Rahman Hamidy7-Mar-10 0:50 
AnswerRe: Print Message that is printed in Windows Service Application Pin
dan!sh 7-Mar-10 1:32
professional dan!sh 7-Mar-10 1:32 
GeneralRe: Print Message that is printed in Windows Service Application Pin
Abdul Rahman Hamidy7-Mar-10 17:24
Abdul Rahman Hamidy7-Mar-10 17:24 
QuestionAssembling bytes to an image Pin
Wamuti6-Mar-10 23:18
Wamuti6-Mar-10 23:18 
Hi all. I have a client-server distributed system. I want to transfer and image from the server to the client. In the server i have converted a .bmp image to byte array as this:

Image imageIn = Image.FromFile("me.bmp") ;
MemoryStream msr = new MemoryStream();
imageIn.Save(msr, System.Drawing.Imaging.ImageFormat.Gif);
byte[] byteIm = msr.ToArray();

ms.Send(byteIm);


The bytes are being transfered okay to the client. The problem is that i don't know how to assemble this byte back to an image to show in a picture box.
That is:

pictureBox1.Image =
Confused | :confused:
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

AnswerRe: Assembling bytes to an image Pin
OriginalGriff6-Mar-10 23:48
mveOriginalGriff6-Mar-10 23:48 
GeneralRe: Assembling bytes to an image Pin
Wamuti6-Mar-10 23:55
Wamuti6-Mar-10 23:55 
GeneralRe: Assembling bytes to an image Pin
OriginalGriff7-Mar-10 0:52
mveOriginalGriff7-Mar-10 0:52 
AnswerRe: Assembling bytes to an image Pin
dan!sh 6-Mar-10 23:49
professional dan!sh 6-Mar-10 23:49 
GeneralRe: Assembling bytes to an image Pin
Wamuti6-Mar-10 23:58
Wamuti6-Mar-10 23:58 
AnswerRe: Assembling bytes to an image Pin
DX Roster7-Mar-10 20:17
DX Roster7-Mar-10 20:17 
QuestionCreating Custom Encoding Pin
Xmen Real 6-Mar-10 19:08
professional Xmen Real 6-Mar-10 19:08 
AnswerRe: Creating Custom Encoding Pin
OriginalGriff6-Mar-10 21:45
mveOriginalGriff6-Mar-10 21:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.