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:

3759 questions
76
votes
7 answers

How to troubleshoot a VSTO addin that does not load?

My VSTO Outlook Add-in suddenly stopped working on one customer machine (it does not load, no error message) and I'm stuck with troubleshooting. The machine is Windows 7 x86, Outlook 2007. The add-in is written with Visual Studio 2008 and uses VSTO…
Heinzi
  • 151,145
  • 51
  • 326
  • 481
58
votes
10 answers

The type 'UserControl' does not support direct content

I have an Outlook 2013 and 2016 VSTO Add-in project and am trying to add a WPF user control to a custom task pane as described here. The problem I have is when I add the User Control (WPF) it generates me a WPF control with a grid, but automatically…
NAJ
  • 1,115
  • 2
  • 10
  • 21
26
votes
3 answers

VSTO, Outlook add-ins, and Visual Studio 2015

Starting with Visual Studio RC, Visual Studio 2015 appears to no longer support the Office Add-In project types from Visual Studio Tools for Office (VSTO). Lots of googlin' and questions to PMs in the MS blogs have revealed no useful information;…
toddwseattle
  • 623
  • 1
  • 7
  • 14
23
votes
4 answers

Outlook Add-In tutorial?

Does anyone know of a good example for getting started with Outlook add-ins using C#?
januszstabik
  • 1,122
  • 5
  • 15
  • 29
20
votes
6 answers

How can I get the sender email address using Outlook.MailItem in VB.NET?

I have tried using mailItem.SenderEmailAddress and mailItem.Sender.Address but they both return a string that looks like this: /O=DOMAINNAME/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHI43SPCLT)/CN=RECIPIENTS/CN=JOE BLOGGS8C3 Where in reality I want…
ubergorp
  • 213
  • 1
  • 2
  • 9
20
votes
6 answers

custom ribbon not appearing in outlook when when running a build in vs

I followed this tutorial, but when I build then run my project in visual studio a ribbon tab does not appear. I'm using outlook 2010 if that helps.
xxyyxx
  • 2,126
  • 2
  • 20
  • 32
19
votes
6 answers

Get the email address of the current user in Outlook 2007

I have an Outlook add in written in C#. I was wondering how or if I could get the email address of the current user? Thanks
electricsheep
  • 4,834
  • 8
  • 35
  • 41
19
votes
2 answers

Hooked events Outlook VSTO continuing job on main Thread

I have developed an Outlook VSTO addin. Some tasks should be made on a background thread. Typically, checking something in my local db or invoking a web request. After reading several posts, I dropped the idea of calling the Outlook Object Model…
Benoit Patra
  • 3,913
  • 4
  • 23
  • 49
17
votes
2 answers

How to access Application property in VSTO Outlook add-in outside of ThisAddIn class?

ThisAddIn class created with new Outlook VSTO C# project has a Application property that you can use to among other things get access to Outlook folders and items. The problem is that you can easily use it when you're inside of ThisAddIn class but…
RaYell
  • 66,181
  • 20
  • 123
  • 149
15
votes
1 answer

_MailAutoSig Bookmark missing (Outlook 2010)

I wrote an addin a while back for Outlook that adds/removes an optional tagline below the signature in an outlook message. This add-in works with no issues. I'm writing a second add-in that needs to potentially add information below that (whether…
Larry G. Wapnitsky
  • 1,126
  • 2
  • 13
  • 33
15
votes
1 answer

Cancelling Item_Open causes crash

I am writing an office addin using c# and Microsoft.Interop libraries. When I cancel the opening of an appointment in the Item_Open event by setting the Cancel property to false, it causes Outlook to crash with an Appcrash. The crash happens when…
knechtrootrecht
  • 393
  • 2
  • 11
14
votes
3 answers

Importing ics file to an Outlook.AppointmentItem

I have an Outlook 2007 add-in that is trying to import ics files into Outlook.AppointmentItem objects so that I can read attributes about certain appointments. Currently I am not able to read the ics back into memory. Any suggestions on what I am…
Rick Make
  • 521
  • 2
  • 6
  • 14
13
votes
6 answers

Can I add a custom "Send" button to Outlook?

I'm creating a secure message alternative to email for my organization. We exchange confidential patient information with outside treatment providers. To protect privacy, we cannot use email for this purpose. Rather than force the users here to…
Zack Peterson
  • 53,106
  • 76
  • 203
  • 279
13
votes
4 answers

How do I get the current mail item from Outlook ribbon context menu

I am creating an Outlook 2010 add-in and have added a context menu to my ribbon for idMso="contextMenuMailItem". On click, I would like to remove a category but in the click event handler, when I cast ctl.Context to MailItem, it's always…
Keith
  • 2,558
  • 4
  • 25
  • 43
13
votes
2 answers

How to open Outlook's new mail window with prepopulated attachment

I need to open a new email window with a prepopulated attachment when a user clicks some button or link in my application.
Selvakumar
  • 310
  • 1
  • 3
  • 15
1
2 3
99 100