Questions tagged [outlook-addin]

Outlook addins are self-contained programs that modify,extend or add functionality to Microsoft Outlook desktop client. Please use "outlook-web-addins" tag for questions regarding the new model of Outlook Add-ins, which are web-based and can run on Desktop, Web, and Mobile.

Outlook addins are self-contained programs that modify, extend or add functionality to Microsoft Outlook desktop client. They are either COM addins or VSTO addins.

These addins are typically written using tools:

  1. Visual Studio
  2. Visual Studio Tools for Office
  3. VB6

Visual Studio 2013 prior editions provide project templates which can be used to create application-level add-ins for Microsoft Outlook. You can use add-ins to automate Outlook, extend Outlook features, or customize the Outlook user interface.

Links:

4457 questions
12
votes
1 answer

Outlook VSTO with new Office High DPI support

We have an Office VSTO add-in for Outlook written in C# and using Windows Forms. Before a recent Office update, the add-in was rendering just fine. But after Microsoft introduced Office support for high definition displays, many forms started to…
Søren Boisen
  • 1,669
  • 22
  • 41
12
votes
1 answer

VSTO - Is it possible to have both designer and XML ribbons?

I'm working on an Outlook 2010 add-in that has multiple ribbons created with the Visual Studio 2010 ribbon designer. I've made an additional XML ribbon (I needed to override the default behavior of some built in ribbon buttons, which can't be done…
njm
  • 133
  • 1
  • 6
12
votes
1 answer

Difference between Outlook.Folder and Outlok.MAPIFolder

I'm not clear on the difference between the classes Folder and MAPIFolder in the namespace Outlook. When I review the code in the net, some use the first, while others use the other syntax and I can't really determine if: it's just because of their…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
11
votes
4 answers

Outlook 2007 vsto add-in. Get email sender address

I have a VSTO Outlook 2007 add-in. I am trying to get sender e-mail address when new email comes to Inbox. To do it I use the following code: void inboxItems_ItemAdd(object Item) { Outlook.MailItem mailItem = Item as Outlook.MailItem; …
Andriy Kozachuk
  • 743
  • 1
  • 13
  • 27
11
votes
2 answers

How to find out current version of Outlook from VSTO Addin?

I think my searching skills are terrible today, but I am trying to find out which version of Office Outlook in my add-in running in? i.e., I need to know if my add-in is running with Outlook 2007 or 2010 Is there any API that I can leverage to find…
Harsha R
  • 707
  • 6
  • 12
11
votes
4 answers

Outlook 2003 Add-in won't load, but is in working order

I have created an Outlook add-in for 2003, 2007 & 2010. The add-in works fine in 2007 and 2010, but is not loading correctly in 2003 on any machines, other than my own dev machine. There are no code issues, as there are no errors shown in the load…
SteveA
  • 456
  • 6
  • 14
11
votes
3 answers

How to capture an email

I've created a basic Custom Task Pane in Outlook. I want to drag an email and drop it into the task pane. When dropped, it should allow me to capture the email as an object I guess, allowing me to do stuff with it, as in save to a sharepoint…
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
11
votes
4 answers

How to add a button to a pre-existing tab on ribbon (C#)?

I've successfully created a new tab and put it next to the pre-existing ones. Then I realized that I'll only have one button on it, so it makes more sense (for now) to put it on the Home tab. Didn't really get that to work though. I've tried to…
user1675891
10
votes
2 answers

Getting email address of a recipient which is an exchange user

In my VSTO Outlook 2007 plug-in, I am able to get the email address of a recipient which is an exchange user. But when I have the following case, it does not return me the smtp email: Add a new Outlook Contact item (in Outlook contacts). The email…
Nadeem Ullah
  • 907
  • 1
  • 9
  • 16
9
votes
2 answers

How to programmatically get a contact's picture in Outlook 2010?

How can you get a contact's picture from Outlook and save it to a file? Thanks!
Alex
  • 7,432
  • 20
  • 75
  • 118
9
votes
2 answers

OnSend fired twice after attachment reminder

In Outlook Web Add-In, I'm trying to intercept OnSend event which is triggered when sending an email. I used this example in GitHub which is working fine. If I include the word "attachment" in the email body and I click Send button, OnSend event is…
Mhd
  • 2,778
  • 5
  • 22
  • 59
9
votes
1 answer

Outlook 2007 Add-in Exception Handling

I have an Outlook 2007 Add-in that I recently inherited and there is currently an issue in production where some users are getting their add-in disabled periodically and seemingly randomly. There are no logs from the Add-in and there are try/catch…
Adam
  • 3,014
  • 5
  • 33
  • 59
8
votes
9 answers

Unable to sideload the Office Add-in when running 'npm start'

I'm trying to run Outlook-add-in using npm start. But it gives me an error that Sideloading the Office Add-in... Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Sideload is not supported. I'm running direct…
Jay
  • 81
  • 1
  • 1
  • 3
8
votes
1 answer

not loaded : a run-time error occurred during the loading of the com add in outlook 2013

I have a WPF outlook add-in which is developed in Visual Studio 2008 with C#. It is working fine with Microsoft outlook 2003, 2007 & 2010. But when I installed it in outlook 2013, its not getting activated. When I try to activate it , the following…
Sebastian Xavier
  • 2,499
  • 7
  • 27
  • 41
8
votes
1 answer

Set CustomProperties on appointment for all attendees

tl;dr When setting CustomProperties to an appointment that has attendees, only the appointment for the organizer gets the CustomProperties. The properties do not propagate to the appointments of the other attendees. Longer version When we create…
Andy T
  • 10,223
  • 5
  • 53
  • 95