outlook-addin

Outlook VSTO AddIn Configuration

I'm working on VSTO addin for outlook 2003.Outlook can read the startup section from Outlook.exe.config. <startup> <supportedRuntime version="v1.0.3705" /> <supportedRuntime version="v1.1.4322" /> <supportedRuntime version="v2.0.50727" /> </startup> But it is not able to read the system.diagnostics section of the confi...

Outlook Plugin - Searching Global Address book

Hi, Does anyone know how to search the Global Address Book on the exchange server? It seems the 'Address Book' is different to a public contact list, hence this popular example code (or similar) points to a completely different set of contacts: Outlook.Application app = new Outlook.Application(); Outlook._NameSpace olNS = app.GetNamesp...

Outlook like UI Standards

Hi All, Need your help. I am in dire need of UI standards like we have in outlook, the size of the window, mesage sizes, font size stuff and all. I am trying to make few Add-ins, but clinet needs me to follow the UI standards as of outlook, request you to please help me. Amit ...

Outlook Addin: DispEventAdvise exception.

I want to creating an addin that captures when a {contact, calendar, task, note} is {created, edited, removed}. I have the following code, to make it shorter I removed all the code but the related to contact, since all types will be the same I guess. AutoSync.h class ATL_NO_VTABLE AutoSync : public wxPanel, public IDispEventSimpleIm...

How to determine where a Mailitem is being opened from in Outlook 2007 using VSTO 2005 SE

I have an Outlook 2007 Add-in in VSTO 2005 SE that allows users to save e-mails into our document management system. From within our system users are able to open e-mails they have previously saved. However, when doing so I need to try and prevent them from saving them again. I am trying to figure out how to determine if the Mailitem ...

Outlook 2007 AppointmentItem e-mails are not all resolving

I have an Outlook 2007 plugin that sends AppointmentItem information to a backend server. One problem that I am seeing is that when a User creates an appointment not all of the Receipients are present in the AppointmentItem object. What is the best way to retrieve recipients for a an AppointmentItem so that I can ensure that I am sendi...

VSTO - Outlook 2007 How do I show a form inside the Outlook window?

Hello everyone, I'm using VSTO with Outlook 2007 and I need to show a form (or a user control) inside the main window in outlook when the user clicks a specific toolbar button, that is, I need it to appear in the same window that the reading pane appears and not to open in a window by itself. Is this possible? Thank you for your time. ...

VSTO - Outlook 2007 How do I show a user property even when it's not present?

I have added user property in a mail folder, let's call it UserProperty01. Some of the folder items have this property, some don't. I need to show in the folder's view if that property is set or not, so I added another property called UserProperty01Present, and I set it to true when I set the original property and false when I deleted it...

VSTO - Outlook 2007 How do I change the icon of a YesNo column in a folder view?

I have a YesNo column in a folder, and I added it to the folder view; it appears as a checked or unchecked checkbox. I've been asked to replace it with a green or red circle. Is this possible? Thank you for your time. ...

Outlook 2007 Ribbon and MVP

I'm working on outlook 2007 VSTO Addin.I have added a Ribbon with a button. I am trying to raise an event on button click.On NewInspector event of Application.Inspectors collection I should be able to hook on to this ribbon event in the Presenter. The questions is how to get hold of Ribbon of Inspector opened. I tried Globals.Ribbons.My...

How to add 'quick steps' style control to Outlook 2010 Ribbon?

As part of my Outlook Addin I would like to add a control to the Ribbon which has the same format as the 'Home\Quick Steps' and 'View\Arrangement' controls. Does anyone know if these can be created by Addins? ...

Outlook addin crashing windows explorer

Hi, i am building an outlook addin that utilizes the windows clipboard for temporary storage. When i make a call to Clipboard.Clear() at the end of the process, Windows Explorer crashes and needs to restart. Does anyone know why this may be? It ONLY happens on a 64bit OS, not 32bit.. ...

Outlook Crashes with Event ID 1000

We deployed a VSTO addin for outlook 2003. After installing the addin one of the user's outlook crashes when a contact is opened, i.e, when ItemProperties of the contact are read.Some theses properties are read using MAPI.There is no exception being logged even though we have try/catch and logging in all methods. The event log has follo...

Pros & Cons of using windows Active Setup

What are the known Pros/Cons of using windows active setup for deployment? Does Microsoft recommend/support using active set up? If your are interested, here is the context: I'm working on outlook 2003 VSTO addin.The installer for this addin creates few registry entries either in HKCU or HKLM depending on "Single User" Or "All User" ins...

Outlook 2003 Addin, How to open Select name dialog?

Hi, i know that is not so easy question, but i have to ask this cause i am struggling with it for almost two weeks maybe more... How can i open a SELECT NAMES DIALOG (Contacts) in Outlook2003 Addin C#? I know how to do it in 2007 and it's doesn't work's in 2003 so please help me... I Develop with C# this addin and if i can find any cod...

Outlook Addin to add custom field to mail form or accessing existing field with c#

Hi i want to access the "mailto"- Field in Outlook 2007 with an Addin and want to add a custom autocompleter, what is the best way to access this field and adding additional infos in c#? Ideas? greetings ...

Outlook custom field

I have added a custom filed and column in folder view. Now I want my column to be second just after the “from“column. How can I do it. My new column is text base and text content is “Yes” or “No”. If is No then I like the text color as Red. Is it possible to do that? Thanks in advance. ...

FatalExecutionEngineError in Outlook add-in migrated from Outlook 2007 to 2010

I'm trying to migrate my Outlook 2007 add-in to Outlook 2010 and Visual Studio 2010. I've done everything that is described in these documents: Required Changes to Run Office Projects that You Migrate to the .NET Framework 4 Updating Form Regions in Outlook Projects that You Migrate to the .NET Framework 4 Updating Ribbon Customizatio...

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 ...

Get a message or notification when new mail form is opened?

I need an event/message/notification in an outlook addin, which fires when a new mail form is open by an user? I don't know how to determine which window is opened. ...