Is there any way to set a custom Icon of an Outlook folder or subfolder using Outlook object model?
From what I have read this is unfortunately not possible in Outlook 2007.
It is possible in Outlook 2010 using MAPIFolder.SetCustomIcon
. See MSDN for more details: http://msdn.microsoft.com/en-us/library/ff184775.aspx
Switching the list of MAPIFolder methods between 2010 and 2007 on the following MSDN webpage shows the SetCustomIcon
method for 2010 only: http://msdn.microsoft.com/en-us/library/bb645002.aspx