Insert OLE Object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
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.
 
Back
Top