Access.Image PictureData

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
 
S

Stephen Lebans

Answered in your other post on this issue.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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

Top