I don't think it can be done because Access wraps its own non-standard headers around an OLE Object stored in an mdb. Storing an OLE Object in an Access JET database isn't a good idea anyway because Access stores not only the OLE Object but also a large bitmap "thumbnail" of the object. If you're storing a compressed image such as a JPG, the object can end up using 5 or 6 times the actual size of the object when stored in an mdb. Use a Text or Memo field instead that stores the path of the object - and that should be easy to load into a PictureBox.
John Viescas, author
"Microsoft Office Access 2003 Inside Out"
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"
|