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

OpenSharedItem - Exception



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 10th 07, 03:12 PM posted to microsoft.public.outlook.program_addins
Andre Maas
external usenet poster
 
Posts: 21
Default OpenSharedItem - Exception

Hello,

i would like to load a Mail from filesystem. In OL2007 is a new function
called: 'OpenSharedItem'.

I've called the function like:

MailItem mailItemLoaded =
") as MailItem;

If the mail is an OL2007 Mail the function works fine. If the mail i
would like to load is from OL2000 oder OL2003 the function throw the
following exception: 'System.Runtime.InteropServices.COMException'.

Have anyone else have faced any similar problem? What I am doing wrong
here? Any pointers on this will be of great help.


Regards,

André
  #2  
Old October 10th 07, 03:27 PM posted to microsoft.public.outlook.program_addins
Andre Maas
external usenet poster
 
Posts: 21
Default OpenSharedItem - Exception

Andre Maas schrieb:
Hello,

i would like to load a Mail from filesystem. In OL2007 is a new function
called: 'OpenSharedItem'.

I've called the function like:

MailItem mailItemLoaded =
") as MailItem;

If the mail is an OL2007 or OL 2003 Mail the function works fine. If the mail i
would like to load is from OL2000 the function throw the
following exception: 'System.Runtime.InteropServices.COMException'.

Have anyone else have faced any similar problem? What I am doing wrong
here? Any pointers on this will be of great help.


Regards,

André

  #3  
Old October 10th 07, 03:29 PM posted to microsoft.public.outlook.program_addins
Andre Maas
external usenet poster
 
Posts: 21
Default OpenSharedItem - Exception

Hello,

i would like to load a Mail from filesystem. In OL2007 is a new function
called: 'OpenSharedItem'.

I've called the function like:

MailItem mailItemLoaded =
") as MailItem;

If the mail is an OL2007 or OL2003 Mail the function works fine. If the
mail i
would like to load is from OL2000 the function throw the
following exception: 'System.Runtime.InteropServices.COMException'.

Have anyone else have faced any similar problem? What I am doing wrong
here? Any pointers on this will be of great help.


Regards,

André
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
exception Reda Outlook - Calandaring 0 March 1st 07 07:26 PM
Unknow exception Alexandr Kalugin via OfficeKB.com Add-ins for Outlook 5 August 11th 06 07:19 AM
What is 0x0eedfade exception? Dmitry Streblechenko Add-ins for Outlook 2 June 20th 06 07:59 PM
Exception from HRESULT Laks Add-ins for Outlook 1 May 11th 06 09:24 AM
Got exception while QueryInteface Vinayakc Add-ins for Outlook 0 January 13th 06 08:44 AM


All times are GMT +1. The time now is 10:39 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.