I have saved some pictures (jpg) in a database as bytearrays. Now I get them
into an Image control by first getting the bytearray from database, then
persisting it to a temporary file and finally loading the file into the
Image control. This seems inefficient, so I have tried to get the bytearray
to the Clipboard. However, I get either Type mismatch or Object variable not
set -error when I try to do this. How do I convert a bytearray into an image
that Clipboard will understand? Or even better: How do I get the bytearray
directly into the Image control?