Microsoft KB Archive/306067

= OL: Cannot Automate the Import/Export Wizard =

Article ID: 306067

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition
 * Microsoft Outlook 2000 Standard Edition
 * Microsoft Outlook 98 Standard Edition
 * Microsoft Outlook 97 Standard Edition

-



This article was previously published under Q306067



SUMMARY
You cannot automate or programmatically control the Outlook Import/Export Wizard.



MORE INFORMATION
The Import/Export Wizard functionality is not included as part of the Outlook object model and therefore, cannot be used as part of a custom solution. However, the Outlook object model does allow you to programmatically create new Outlook items and retrieve data from existing items in a folder. The following Microsoft Knowledge Base articles illustrate how you can create a solution to import items into Outlook:

290658 OL2002: How to Programmatically Import Outlook Items from Microsoft Access

208232 OL2000: How to Programmatically Import Outlook Items from Microsoft Access

180981 OL98: Programmatically Import Outlook Items from MS Access

170320 OL97: How to Programmatically Import Outlook Items from Access

If you are trying to import data from or export data to a data source that is listed in the Import/Export Wizard, consult the documentation for that product (or technology) to determine how to programmatically access the data from that type of source.

NOTE: Because Outlook data is stored in a MAPI-based store, you may be able to use other APIs to access the data, depending on the type of items. For additional information about other messaging APIs and object models, see the &quot;Messaging and Collaboration&quot; section of the following MSDN Web site:

http://msdn.microsoft.com

