G
ghislain
Hello,
I would like to change the MiniIcon of an email.
I use this code but it doesn't change it :
Dim currInspector As Outlook.Inspector =
Globals.ThisAddIn.Application.ActiveInspector
Dim message As Outlook.MailItem =
CType(currInspector.CurrentItem, Outlook.MailItem)
message.FormDescription.Icon = "C:\Program Files\Microsoft
Office\Office12\FORMS\1033\TASKACCL.ICO"
message.FormDescription.MiniIcon = "C:\Program Files\Microsoft
Office\Office12\FORMS\1033\TASKACCS.ICO"
message.FormDescription.PublishForm(Outlook.OlFormRegistry.olDefaultRegistry)
message.Save()
Could you please help me ?
Have a nice day
Regards
Ghislain
I would like to change the MiniIcon of an email.
I use this code but it doesn't change it :
Dim currInspector As Outlook.Inspector =
Globals.ThisAddIn.Application.ActiveInspector
Dim message As Outlook.MailItem =
CType(currInspector.CurrentItem, Outlook.MailItem)
message.FormDescription.Icon = "C:\Program Files\Microsoft
Office\Office12\FORMS\1033\TASKACCL.ICO"
message.FormDescription.MiniIcon = "C:\Program Files\Microsoft
Office\Office12\FORMS\1033\TASKACCS.ICO"
message.FormDescription.PublishForm(Outlook.OlFormRegistry.olDefaultRegistry)
message.Save()
Could you please help me ?
Have a nice day
Regards
Ghislain