Access.Image PictureData

  • Thread starter Thread starter rmanchu
  • Start date Start date
R

rmanchu

Dim image As ADODB.Stream
Set image = New ADODB.Stream
image.Type = adTypeBinary
image.Open
image.Write fldTmp.Value
ctlImage.PictureData = image.Read ' <<<<
image.Close
Set image = Nothing

the bitmap specified is not not a dib.

this error occurs on the indicated line.ctlImage is an Access.Image
control

i have tested "image" and it is correct. so how might i convert normal
image into a dib???

thanx
riyaz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top