M
Michael H
Hi all,
I wrote code to retreive a Microsoft.Office.Interop.Outlook.MailItem
object from an ID value using by it's MailItem.EntryID value by using
this method from the NameSpace interface.
object GetItemFromID(string EntryIDItem, object EntryIDStore);
My question to all your clever folks is can I avoid the
Outlook.Interop stuff all together and replace it with RDO?
I would prefer to just distribute the Redemption library and not worry
about whether each pc has .NET Programmability Support installed or if
I need to distribute the Outlook Interop DLL as well. Of course, I can
distribute both Redemption and the Outlook Interop but this would be a
last resort fore I have some other third party DLLs that I'm working
w/ too. Thanks a lot, all.
sample code:
---------------
using Microsoft.Office.Interop.Outlook;
....
....
MailItem item;
NameSpace olNameSpace;
ApplicationClass olApplication;
Redemption.SafeMailItem safeItem;
olApplication = new ApplicationClass();
olNameSpace = olApplication.GetNamespace("MAPI");
item = (MailItem) olNameSpace.GetItemFromID(strEntryID, null);
safeItem = new SafeMailItem();
safeItem.Item = item;
I wrote code to retreive a Microsoft.Office.Interop.Outlook.MailItem
object from an ID value using by it's MailItem.EntryID value by using
this method from the NameSpace interface.
object GetItemFromID(string EntryIDItem, object EntryIDStore);
My question to all your clever folks is can I avoid the
Outlook.Interop stuff all together and replace it with RDO?
I would prefer to just distribute the Redemption library and not worry
about whether each pc has .NET Programmability Support installed or if
I need to distribute the Outlook Interop DLL as well. Of course, I can
distribute both Redemption and the Outlook Interop but this would be a
last resort fore I have some other third party DLLs that I'm working
w/ too. Thanks a lot, all.
sample code:
---------------
using Microsoft.Office.Interop.Outlook;
....
....
MailItem item;
NameSpace olNameSpace;
ApplicationClass olApplication;
Redemption.SafeMailItem safeItem;
olApplication = new ApplicationClass();
olNameSpace = olApplication.GetNamespace("MAPI");
item = (MailItem) olNameSpace.GetItemFromID(strEntryID, null);
safeItem = new SafeMailItem();
safeItem.Item = item;