Results 1 to 5 of 5
  1. #1
    Nonz is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    5

    Retrieve images stored as file paths in Access

    Hi

    I'm a relatively new programmer. I saved file paths to images in an access database instead of the actual objects. I'm using a data reader to retrieve the path from the database. My problem is I do not know how to code loading the object into the picturebox.


    I got as far as:

    while(datareader.read())
    {

    }

    Please help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What do you mean by 'data reader'? Does not sound like Access nor VBA question.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Nonz is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    5
    I'm sorry, I forgot to mention that I'm using C# hence the data reader.
    I'm trying to take a picture (file path is stored in access) and load it into a picture box that is in my application.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You should post question in a C# forum. Try http://forums.aspfree.com/c-programming-75/
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Nonz is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    5
    Thanks for the tip. I'm on it.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access - Automatical retrieve files
    By eric.kung in forum Access
    Replies: 8
    Last Post: 08-18-2011, 06:51 AM
  2. Retrieve old e-mail through an Access form?
    By jimmonator in forum Forms
    Replies: 1
    Last Post: 05-12-2011, 04:34 PM
  3. Setting paths different for each form
    By sailinxtc in forum Programming
    Replies: 9
    Last Post: 04-04-2010, 09:03 PM
  4. Replies: 0
    Last Post: 10-04-2009, 04:11 AM
  5. Replies: 17
    Last Post: 08-26-2009, 11:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums