A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Fehlermeldung beim öffnen .MSG-Datei



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 30th 09, 11:23 AM posted to microsoft.public.outlook.program_addins
Dan
external usenet poster
 
Posts: 166
Default 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
Ads
  #2  
Old June 30th 09, 01:54 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:09 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-2025 Outlook Banter.
The comments are property of their posters.