Fehlermeldung beim öffnen .MSG-Datei

D

Dan

Hello Experts,

I have developed an Outlook Add-in that man can save mails as .MSG-File in
local disk. But when I just open up the saved mail(MSG) and Outlook is not
opened, there appeared always an error "the Object variable or With block
variable is not set." When I disable this Add-in in Outlook, there is no such
error.

What ist that error maybe?

best regards,

Dan
 
K

Ken Slovak - [MVP - Outlook]

Well, when Outlook is started your addin is being started. It's hard to say
what object hasn't been instantiated in that case, perhaps you have some
code that refers to ActiveExplorer?

That wouldn't be a valid object in this case since when Outlook is started
in "headless" mode it has no Explorers (Explorers.Count == 0).

In "headless" mode there is at least one Inspector, but no Explorers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top