Marketplace products
Store Images in a Database
- Version
- 1.0
Page 3 of 3
- Introduction
- Image Insertion
- Image Retrieve
Image Retrieve
Retrieving an image from database I have used the Image Control (let the name
Image1), add a button (let name is Retrieve) and add the following code
rec.Open "Select pict From table” , con, adOpenKeyset, adLockOptimistic
nHandle = FreeFile
Dim temp As String
temp = "picture.tmp"
Dim pp As New ADOPictDB32.ADOPictDB
Set Image1.Picture = LoadPicture(pp.getPict(rec, "pict", temp))
rec.Close
Set rec = Nothing
I think ADOPictDB32.dll will help you. If you have any comments regarding this
dll feel free to send mail at sanjibmail@yahoo.com. If you like this dll please
do not forget to give it a rating.
Have you got the source code for saving and loadng image from access database using vb.net??
I got compile error: Object liabrary invalid or contains reference to object definitions that could not be found. What is the problem? Pls help. Thank you.
Would this DLL be able to retrieve Excel image?
[5]PLEASE HELP. I have registered the .dll, but still can't work, pls tell me what else need to do.[/5]
[3]I got compile error: Object liabrary invalid or contains reference to object definitions that could not be found. What is the problem? Pls help. Thank you.[/3]
This thread is for discussions of Store Images in a Database.