![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|