I note that version 11 of the interop library does not contain the OpenSharedItem() method.
It becomes available from version 12 onwards.
It seems that this operation is not available in Office 11/2003 (at least not through this method call for any version of interop lib).
I'm not sure if this is suitable for your scenario, but I had good success in the Outlook Redemption library.
From What is Outlook Redemption? :
Outlook Redemption works with the restrictions imposed by the Outlook Security Patch plus package; it provides a number of objects and functions for working with properties and functionality that are not displayed in the Outlook object model.
The Redemption library also includes a family of RDO (Redemption Data Objects) that can function as a complete replacement for the CDO 1.21 or Outlook object model.
It seems to get around some of these odd / inconsistent b / w behaviors of different versions of Outlook (either by design or as a βside effectβ of the original goal).
If you are familiar with CDO, it will be convenient for you to work with RDO. But to be honest, I donβt know how this "maps" to Microsoft.Office.Interop.Outlook.
Contact http://www.dimastr.com/redemption/rdo/rdosession.htm
The equivalent RDO function for Session.OpenSharedItem() is equal to RDOSession.GetMessageFromMsgFile() .
NB I am in no way associated with this product, except that I used it sometimes! :-)
source share