Fehlermeldung beim öffnen .MSG-Datei

Status
Not open for further replies.
D

Dan

Fehlermeldung beim öffnen .MSG-Datei

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
 
Re: Fehlermeldung beim öffnen .MSG-Datei

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.

"Dan" <Dan> wrote in message

news:97E66093-F6F4-425F-AD81-BFC2422F55A7@microsoft.com...
> 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
 
Status
Not open for further replies.
Back
Top