outlook-2010

Adding a Tab to the Outlook 2010 Ribbon?

I'm trying to create an Outlook 2010 addin that adds a new tab to the ribbon. I found out how I can add my groups to an existing tab by setting the OfficeId to "TabMail" or something built-in, but I don't want to modify existing tabs. I've now set the OfficeId that something of my own ("TabMyAddin"), but it doesn't show up in Outlook. I...

Outlook 2010 Retrieving and restricting appointments programmatically causing recurrences to be included

I wrote a winforms app that uses Microsoft.Office.Interop.Outlook to retrieve and restrict appointments based upon the date range entered by a user. This worked fine with Outlook 2007 installed, however now that some users have updated to Outlook 2010 the appointment retrieval is pulling back incorrect appointments along with the corr...

Changing any Form Region/Ribbon property breaks Visual Studio editor

I have a problem with Visual Studio 2010 and Outlook Addin 2010 project (.NET 4 target). I've added a form region to my project and then I've changed Localizable property to true. Now if I close my form region and reopen it, I'm getting this VS error page: To prevent possible data loss before loading the designer, the following errors ...

i need to know about the handlers available in outlook 2010 for previewing attachments

i am developing an addin for outlook 2010 which deals with the attachments. i want to know how can i use handlers available in outlook 2010 in my code for previewing the attachments?? is there any way to do this?? thanks and regards Ankita ...

Outlook Add-in targeting 2007 & 2010

I have an Outlook Add-in that I have developed for Outlook 2007. I am working on having this add-in work on Outlook 2010 as well. My add-in is an adjoining region on the appointment/meeting request window that displays a WPF control. The add-in installs fine on Outlook 2010 but when I go to the appointment/meeting request window I have a...

VSTO Outlook: Creating a dynamic custom context menu for a mail item determined by subject line

Is it possible to add different items to a mail item custom context menu by inspecting the contents of the item? For instance, only add the item if the subject line contains "IMPORTANT". ...

Getting/Creating an Outlook Application in Windows 7

Hello everybody. I'm trying to get the current running version of Outlook or start up Outlook in case it is not running, but I am having some issues in getting or creating the Outlook Application object in Windows 7. I think it has something to do with the user priviliges that are restrictive in Vista and 7. I am working with Outlook 20...

[C#] I can't access an Outlook 2010 application from code

Hello. In my code, I want to get an object representing Outlook 2010. It seems that I am able to start-up a new version of Outlook 2010 without receiving an error. I use this code to start it up: oApp = new Microsoft.Office.Interop.Outlook.Application(); However, if Outlook 2010 is already running, I can't get a version of that ...

Add custom group to Home tab in Outlook 2010 using VBA

Hi, Can't seem to find any simple VBA tutorials for adding a custom group to the Home tab in the Outlook 2010 ribbon. Shouldn't it be a couple of simple steps involving something like traversing objects in the Home tab and programmatically add the group with controls etc, or redefine the XML that describes the Home tab. Is there any s...

How to get original sender of a forwarded email with Outlook interop?

I'm developing an add in for Outlook 2010 and I need to be able to retrieve the sender's email address for a MailItem or the email address of the original sender if it is a a forwarded email. Is there any easy way to do that second one besides parsing through the body of the email? ...

Last recipient set using office interop always ends up in TO field in outlook2010 even if the type is BCC or CC

I am having problems setting the BCC field in Outlook 2010. This is my situation (using Microsoft.Office.Interop.Outlook): string bcc = "[email protected]"; Recipient recipient = mailItem.Recipients.Add(bcc); // Add the recipient address recipient.Type = (int)OlMailRecipientType.olBCC; // Set the type to BCC mailItem.Display(false); /...