Insert OLE Object

J

Jake

How would I insert an OLE Object into a table based on the object's location? What I would like to do is pass a string of the path (i.e. C:\bitmap.bmp) and have the item added to a table (for use with attaching a person's signature to their profile). I'm not sure how to do this from a form. When I add the object directly into a table, I am prompted with a a dialog box (that I would like to have the code take care of). If this doesn't make sense, please post questions and I'll try to clarify. Right now I'm just not sure I know enough about OLE Object to even ask the right questions.

Any help would be greatly appreciated!

Jake
 
L

Larry Linson

There's code for inserting an image into an OLE Object in the example
databases at http://accdevel.tripod.com. As far as I know, that should work
for _any_ OLE Object, not just an image. On the other hand, if you are
talking about images, maybe it'd be a good idea for you to read the article
that is included with the download -- there are other alternatives that may
serve you better.

Larry Linson
Microsoft Access MVP

Jake said:
How would I insert an OLE Object into a table based on the object's
location? What I would like to do is pass a string of the path (i.e.
C:\bitmap.bmp) and have the item added to a table (for use with attaching a
person's signature to their profile). I'm not sure how to do this from a
form. When I add the object directly into a table, I am prompted with a a
dialog box (that I would like to have the code take care of). If this
doesn't make sense, please post questions and I'll try to clarify. Right
now I'm just not sure I know enough about OLE Object to even ask the right
questions.
 
Z

zjq

iiooi9io
Jake said:
How would I insert an OLE Object into a table based on the object's
location? What I would like to do is pass a string of the path (i.e.
C:\bitmap.bmp) and have the item added to a table (for use with attaching a
person's signature to their profile). I'm not sure how to do this from a
form. When I add the object directly into a table, I am prompted with a a
dialog box (that I would like to have the code take care of). If this
doesn't make sense, please post questions and I'll try to clarify. Right
now I'm just not sure I know enough about OLE Object to even ask the right
questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top