Check for open Outlook dialog box RRS feed

  • Question

  • When using VBA or .Net with OOM (f.ex. Microsoft.Office.Interop.Outlook.MailItem) to display a new mailitem, everthing works like expected.

    But when a modal dialog box is open inside Outlook (f.ex. manage rules), the display-method fails with "Outlook can't do this, because a dialog box is open. Please close it and try again".

    Does anyone know a way check Outlook for open dialog boxes? There is no property "CanDisplayMailItem"...

    Other ideas?


    Tuesday, October 6, 2015 1:50 PM