Results 1 to 5 of 5

Thread: .jpg files stored in Access

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Post

    I am developing an application in which the client will need to store a .jpg picture of each person in the database. I have the files saved as OLE objects in a field called "PHOTO" but I have no idea how permit the client to view or insert pictures.

    Can anyone help?

    Thanks

    Andrew

  2. #2
    Junior Member
    Join Date
    Jan 2000
    Location
    Bryan, Texas
    Posts
    27

    Post

    I've previously posted this question myself.... And, of course, it wasn't answered..... So, someone please answer this.... Thanks

    ------------------
    Mitchell Hayenga
    [email protected]

  3. #3
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Leavenworth KS USA
    Posts
    482

    Post

    Try using a picturebox control as a data-bound control linked to the OLE object field and allow direct loading/saving by loadpicture and savepicture commands. MSDN has several related articles: Q147727 and Q103115 should help.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Post

    That should work fine just for viewing the fotos, but I need to be able to add and delete them. Right now I am storing the fotos in a separate folder and using a pointer in the database. That works but is very crude. Anyone have any ideas?

    Thanks

    Andrew


  5. #5
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Here's the tip how to save a picture file to the MS Access database
    http://vbcode.webhostme.com/en/click.asp?id=71

    Try it.

    ------------------
    smalig
    [email protected]
    http://vbcode.webhostme.com/


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width