Can I use RDO to replace all my Outlook Interop objects?

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;
 
K

Ken Slovak - [MVP - Outlook]

RDO is a COM object. It would also have to be used via the COM Interop as
far as I know.
 
M

Michael H

On Wed, 15 Feb 2006 10:40:49 -0500, "Ken Slovak - [MVP - Outlook]"

-> RDO is a COM object. It would also have to be used via the COM
Interop as
-> far as I know.


Can I use RDO (Interoped RDO) instead of the Outlook Interop though
for instantiating an Application, NameSpace, and MailItem ?


Michael
 
K

Ken Slovak - [MVP - Outlook]

You can certainly use RDO instead of Outlook but then you're completely in
RDO, just as if you had written a CDO 1.21 only application. You would have
to logon to the RDOSession (no NameSpace) and go from there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top