No ActiveExplorer object while outlook is running

  • Thread starter Thread starter Dirk Billand
  • Start date Start date
D

Dirk Billand

Hello,

I want to access the body of the current MailItem. I use the ActiveInspector
object to access the currently open MailItem or ActiveExplorer.Selection(1) to
access the MailItem visible in the preview window.

My program is started with a click on a link contained in the mails. This means
that Outlook is already running when my programs tries to acces the MailItems.

This works for most Outlook clients in my company, but not for all. There are a
few users, where my program gets a null pointer when trying to acces the
ActiveExplorer object. But the explorer window is still displayed. Does anybody
know in which cases Outlook will not return a valid ActiveExplorer object?

TIA

Dirk
 
Sounds odd if there are Explorers showing in the UI. What is the value for
Explorers.Count?
 
Back
Top