B
Brian
I am trying to set an image dynamically at runtime. I have several images
stored in a table using a single attacment per record.
I can already determine the correct image and retreive it's data using :
rsForm.Fields("Images").Value
however when i try to set the image to this:
imgTestPic.PictureData = rsForm.Fields("Images").Value
i get the following error: 2192: The bitmap you specified is not in a
device-independent bitmap (.dib) format.
I can however set the image to an external file:
imgTestPic.Picture = "C:\testicon.ico" so the setting works.
So how do i convert my stored Imagge bitmap to a DIB???
Geatly appreciate any assistance...
stored in a table using a single attacment per record.
I can already determine the correct image and retreive it's data using :
rsForm.Fields("Images").Value
however when i try to set the image to this:
imgTestPic.PictureData = rsForm.Fields("Images").Value
i get the following error: 2192: The bitmap you specified is not in a
device-independent bitmap (.dib) format.
I can however set the image to an external file:
imgTestPic.Picture = "C:\testicon.ico" so the setting works.
So how do i convert my stored Imagge bitmap to a DIB???
Geatly appreciate any assistance...