Visual Studio Development Bookmark and Share   
 index > Visual Studio Tools for Office > Replacing Redemption.DLL
 

Replacing Redemption.DLL

Hi there,

We've been working for a while in VB.NET with the inclusion of COM library Redemption.DLL to read Outlooks contacts. It happens to cause some problem when we need to deploy it with clickonce (but that's not the point here). I would like to know if there is a way to easily access Outlook contacts without relying on COM libs. I haven't really found anything I liked so far, Redemption seemed to be able to go through some security and stuff.

Any tips/directions would be appreciated,

Thanks :)

Freddy Mercury  Friday, October 16, 2009 1:50 PM

Hello Freddy,

Please use Outlook Object model to access Outlook contacts. Code like this,

Outlook.Folder conFolder = Globals.ThisAddIn.Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts) as Outlook.Folder;
Outlook.Items items = conFolder.Items;
foreach (Outlook.ContactItem cItem in conFolder.Items)
{
......
}

Here we can check thisproperties page to find the property you want to access.

About security and Redemption, here are two articles you could refer to:
http://www.dimastr.com/redemption/.
http://www.dimastr.com/redemption/security.htm#regfreecom.

If you have any further question, please feel free to let us know.

Best regards,
Bessie


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Bessie Zhao  23 hours 35 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Issue with Installing Excel 2007 Addin for All Users
• How to retrieve a named range for a cell (A1) in Excel?
• Office 2003 problem
• vstor30.exe pre-req installation from MSFT fails with 404
• Problem about Microsoft.Office.Interop.Visio
• Error: Project cannot be created because the application add-in is not working correctly
• vsto 2005 SE with office 2003 Standard Edition
• How to mark a contactItem as dirty?
• [Word] COM Addin Refusing To Run.
• Accessing Excel 2007 Custom Ribbon