icelava

I was toying with the idea of writing an add-in to enhance the existing AutoArchive feature set of Outlook (disappointed to note that 2007 has not improved).

Only had light brushes with Office development, and none in Outlook, so I have been looking around to see if the existing API can even support what I want to do:

1. are AutoArchive properties even exposed The Folder class does not show anything related to that
http://msdn2.microsoft.com/en-us/library/bb176671.aspx

2. if above is satisfied, can I then alter the existing auto-archive dialog. My guess is highly unlikely, and if I really wanted I'd have to recreate entire dialogs.




Re: Visual Studio Tools for Office Outlook add-in to mod existing dialogs?

Andrew Cherry [MSFT]

Hi -

I'm going to answer these out of order -- I know the answer to the second one off the top of my head.

2. You can't modify the Auto-archive dialog through any mechanism we provide, or Office provides. The closest is the capability to integrate into the Options dialog, but even that requires you to write the code independently of an existing dialog.

1. Don't know off the top of my head, I'll try to find someone who does.

Thanks,

Andrew






Re: Visual Studio Tools for Office Outlook add-in to mod existing dialogs?

icelava

Andrew Cherry [MSFT] wrote:

2. You can't modify the Auto-archive dialog through any mechanism we provide, or Office provides. The closest is the capability to integrate into the Options dialog, but even that requires you to write the code independently of an existing dialog.

I was thinking more of adding another Tab to a Folder's properties dialog (altering an existing one may be too much flexibility work). Pretty much like how UI-extension authors insert additional tabs to World of Warcraft stock dialogs.






Re: Visual Studio Tools for Office Outlook add-in to mod existing dialogs?

Sue Mosher - Outlook MVP

In Outlook 2007, you can get to the folder-level AutoArchive properties with StorageItem and PropertyAccessor. Use Outlook Spy or MFCMAPI.exe to drill down to the details. Check out Outlook Developer Reference Help topic HV10045893.