Marketplace products

Store Images in a Database

Version
1.0

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.

Comments

  1. 14 Nov 2006 at 13:31

    Have you got the source code for saving and loadng image from access database using vb.net??

  2. 13 Feb 2005 at 08:36

    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. 04 Oct 2004 at 10:30

    Would this DLL be able to retrieve Excel image?

  4. 23 Sep 2002 at 11:33

    [5]PLEASE HELP. I have registered the .dll, but still can't work, pls tell me what else need to do.[/5]

  5. 23 Sep 2002 at 08:14

    [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]

  6. 01 Jan 1999 at 00:00

    This thread is for discussions of Store Images in a Database.

Leave a comment

Sign in or Join us (it's free).

AddThis