familine
asked on
image
how can i put a image in a image control without use datafield, and datasource properties?
The image source is in a field of a data control.
I tried this:
image.picture=data1.record set.fields ("image_so urce")
but don't works.
He says "Wrong data type"...
The image source is in a field of a data control.
I tried this:
image.picture=data1.record
but don't works.
He says "Wrong data type"...
image1 = loadpicture(PathOfImage)
e.g
image1.picture = loadpicture("c:\bmp\me.bmp ")
image1.picture = loadpicture("c:\bmp\me.bmp
ASKER
Not because the image is in a data control, in a Access Database.
ASKER
Not because the image is in a data control, in a Access Database.
Get bytes from your db (use GetChunk method)
Write byte array to temporary file
Use LoadPicture(tempFile)
Delete temporary File
Write byte array to temporary file
Use LoadPicture(tempFile)
Delete temporary File
ASKER
My proces will execute too many times...
Another code faster???
Another code faster???
No, that's it for unbound mode.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.