View Single Post
  #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é

Ads