visual basic data base picture
HOW i insert image in micro开发者_运维问答soft access and how to call in visual basic
You should detail a bit more on how you plan to store the image.
Option a: Normally, you will need an OLE field, in which the user will right-click and choose "insert object". He can then either have that object linked to the source or not.
Option b: you could also decide to store the UNC path to the image in a text field.
Option a is not recommended because it is very heavy and unefficient. Option b, if your requirements allow it, is much lighter, because Access (you did not specify your version) is very unefficient in storing ole objects, and they consume a huge space in you db.
You can Google for "Access VBA ole object", and you will find usable info like these:
http://www.dbforums.com/microsoft-access/1629613-open-ole-object-vba.html and http://www.access-programmers.co.uk/forums/showthread.php?t=154434
精彩评论