all groups > dotnet academic > march 2004 >
You're in the

dotnet academic

group:

Insert OLE Object into Access Database


Insert OLE Object into Access Database John Dougherty
3/30/2004 4:36:10 PM
dotnet academic:
I have an Access database with one field in a table defined as "OLE Object". I can of course insert objects (such as a bitmap image) into this field with Access' "Insert" pull-down menu option, but how do I programmatically do the same thing? Let's say I have a bitmap file containing a picture of someone which I want to insert into this field. How do I get the contents of that bitmap file into my Access field

- Thanks

RE: Insert OLE Object into Access Database John Dougherty
4/9/2004 6:01:04 PM
RE: Insert OLE Object into Access Database DotNetJunkies User
5/17/2004 5:43:59 AM
howdy,

i do sorta the same thing.

Open your table, and create a OLE field.

Insert your pictures, as needed - linked, not embedded - too much overhead.

Create a form that lists this OLE field.

I am trying to setup a 'browse' button on my form that has this functionality. Unfortunately, the only way I have to do it is to open my original table, and right-click on the OLE field, and insert the proper picture.

good luck,

Will

bill@dlobonn.org

---
Posted using Wimdows.net NntpNews Component -

RE: Insert OLE Object into Access Database smilingamyd NO[at]SPAM -NOSPAM-yahoo.com
5/21/2004 10:25:09 PM
Well any programming language you preferring to do it in, in VB one way is to create an ole object on a form that is linked to your access Database field and use the command
OLE_Image_Picture.CreateEmbed FilenameHere

---
Posted using Wimdows.net NntpNews Component -

RE: Insert OLE Object into Access Database DotNetJunkies User
7/8/2004 11:20:18 AM
Hi, have you figured out how to insert an OLE Object into Access Database?

I'm facing the same problem.

thanks

---
Posted using Wimdows.net NntpNews Component -

AddThis Social Bookmark Button