On a visual basic form, I have a text box in which the user can enter a file path name. I want to store that file path in a access db table. That part I know. However, if the path is for a bitmap or something else that can be stored as an OLE object, I want to store it in another table as an OLE Object.
This is quite a problem for me.
I've answered a similar question on thread 222-104381.
Any way here's a copy paste of my answer(this was for a .doc file, for a .bmp or similar it's just the same thing):
Just create a field on your table of the type OLE object, than you embed your word documents there.
If you have your documents stored on disk and want to place it on your database you can use the GetChunk/AppendChunk methods for the job.
You can get a preety good example on how to work with this at:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.