HOWTO Programmatically save emails in Outlook from an EXE.
My company is trying to make Outlook programmatically save emails to file.
Emails that are selected by the user in Outlook, AND an email a user has
currently open. We want to do this from an external EXE, where the EXE would
be run by the user, and activate when a Hot-Key was pressed.
We believe the best hope is IAccessible to some interface in Outlook. I know
Outlook supports IAccessible, and from an external EXE, one can use Outlook's
HWND or even AccessibleObjectFromPoint to get the IAccessible object of
Outlook, but from there, I do no know what could be done. In IE, I can do
this to get the DOM of the browser using IAccessible's QueryService to get
either an IHTMLElement or an IHTMLWindow object. But for Outlook, I do not
have any reference. I've posted this in the MS-Office forum, but they could