Hi,
I have problem regarding instant update of Acitve inspector mailItem properties the code is below,
step to produce
1. open a new email window to compose new email now change the subject of new email
2. now click on ribbon button (created by ribbon xml designer in vsto project) which opens a new window forms( model form in vsto project).
3. In this window load event I have written following code but the subject is not update instantly.
Dim mailItem =
CType(Globals.ThisAddIn.Application.ActiveInspector().CurrentItem, Outlook.MailItem)
dim subject = mailItem.subject
If the same process is called by waiting while after changing the subject, there is no missmatch
please suggest me how to get the instant update of mailItem property