Prgramatically Import

S

Silas Peter

Hi,

Is there a way to run an import/export via an Oulook Plugin for Emails,
Tasks, Contacts, Calendar just like the option we have under the Files menu
in Outlook.

Regards,
Silas.
 
K

Ken Slovak - [MVP - Outlook]

The best you can do is to get the ID number of the File, Import and Export
menu item (CommandBarButton) and call its Execute method. That will open the
dialog, but from there on all interaction with the dialog and its results is
only in the user interface. The ID for that CommandBarButton is 2577.

Otherwise you'd have to code your own import/export routines and dialogs.

Any custom properties that you want to export from or import to would
require a custom routine no matter what.
 
S

Silas Peter

Thank you Ken.

Ken Slovak - said:
The best you can do is to get the ID number of the File, Import and Export
menu item (CommandBarButton) and call its Execute method. That will open the
dialog, but from there on all interaction with the dialog and its results is
only in the user interface. The ID for that CommandBarButton is 2577.

Otherwise you'd have to code your own import/export routines and dialogs.

Any custom properties that you want to export from or import to would
require a custom routine no matter what.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top