ACC: How to Load OLE Objects from a Folder into a Table (158941)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q158941 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article shows you how to automatically append all files with a
particular extension from a specified folder on the hard disk into a table.
This routine is good for loading OLE objects, such as .gif, .jpg, .doc,
.xls, or .bmp files that are associated with an OLE Server, into a
Microsoft Access database.
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
NOTE: To associate a graphic file with an OLE Server, open it with an OLE
Server package such as Microsoft Imager or Microsoft Paint, and save the
file.
For information about working programmatically with an OLE object in a form
in Microsoft Access version 2.0, please see the following article in the
Microsoft Knowledge Base:
114214 ACC2: How to Programmatically Embed or Link an Object in a Form
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbinterop kbProgramming KB158941 |
---|
|