img_db
test for storing images in an mdb -- vb project included
img_db is a quick test for storing bitmaps in an access mdb via ole.
note: i usually only store in the database the image path, then show it like this:
pic1 = loadpicture(rs!path & rs!imgname)
anyway, this was a test.
also note that this way bitmaps are stored uncompressed (bmp). for storing compressed jpeg's, i suppose one must use binary objects.
snapshots
source code
img_db.zip also contains the complete vb project.
download (564k)