memstream to listview icon
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
I want to set the image properties of items in a listview/treeview to various memstream/filestreams I have (that are images). Any idea how I can do this? Cheers, Simon "I get paid for my brain and my thinking in several obscure worlds", Olli, The Lounge
You'll have to create a new instance of the Image class from the contents of the stream.
treeNode.Image = Image.FromStream(myStream);
HTH, James Simplicity Rules!