Hi,
I am bulding a localnetwork chat, i have the server and the client
everything go perfect, i can send rtf message and also rtf images.
in the message i send an arraylist, tha have some data i need
and also PictureBoxes with some animated images so i can
display into a richtextbox.
When i send the arraylist, everything go perfect, the console server
receive its and sent it to the other client, hi get its, and he can read
everything just find, i extract from the arraylist the information
and i cast the pictureboxes, so i can read their name, size, style,
etc, but when i try to read the image inside the picturebox, so i can
put it in an other picturebox, then i receive an error of marshalbyref type.
I dont get know why, i have everything about the picture box, but not the
image, what is happening?, i must set the atribute to the image before
inserting in the picturebox? or what can i do?
sorry my english i am mexican.
Start Free Trial