Article ID: 180981 - Last Review: November 24, 2006 - Revision: 3.1 OL98: Programmatically Import Outlook Items from MS AccessThis article was previously published under Q180981 On This PageSUMMARY
This article provides an overview and sample code for creating Microsoft
Outlook 98 Contacts from information stored in a Microsoft Access 97
database. The sample code in the "More Information" section of this article
should be run from a Microsoft Access 97 global module and provides a
starting point for the development of a complete solution.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
The Import and Export feature in Outlook 98 does not allow you to import or
export information in user-defined fields (or properties). To import
information into these fields, you may need to create a programming
solution that uses Automation to convert the information.
The following sample code specifically converts information from Microsoft Access into newly-created Outlook Contacts, using Data Access Objects (DAO) version 3.5. With modifications, you can use this code as a basis for creating other types of Outlook items, such as appointments, notes, tasks, and so on. There is also an overview and separate code example available on the Microsoft Web site at the following location. It is the first example in the whitepaper. tp://msdn.microsoft.com/office/community/codeexamples.aspx
(http://msdn2.microsoft.com/en-us/office/aa905351.aspx)
Programming Considerations
Sample CodeREFERENCES
For more information about creating solutions with Microsoft Outlook 98,
please see the following articles in the Microsoft Knowledge Base:
| Article Translations
|

Back to the top
