Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Fehlermeldung beim öffnen .MSG-Datei (http://www.outlookbanter.com/add-ins-outlook/92113-fehlermeldung-beim-ffnen-msg-datei.html)

Dan June 30th 09 11:23 AM

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

Ken Slovak - [MVP - Outlook] June 30th 09 01:54 PM

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Dan" wrote in message
...
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




All times are GMT +1. The time now is 05:25 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com