include image file in an other type of file.

  • Thread starter Thread starter Romain TAILLANDIER
  • Start date Start date
R

Romain TAILLANDIER

Hi group

I try to include a image file into my App type of file (.MyApp files), like
you can add image in your word .doc.
When i open my open a .MyApp file, i need that the image file containing in
appears in a PictureBox.
for the momment i create a new image file (.GIF .JPG .BMP ...) which i add
in my picture box, and after i used it, i delete it.

How can i do to create some kind of temporary image file to populate my
picture box, without create file, the perfection consist inhave a byte[] in
place of a file.

thank you for your help
ROM
 
Dear ROM

you just need to create a memory stream from your byte array, and then
construct your image with that stream :)
 
Back
Top