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
5
votes
2 answers

How to exit VSTO add-in

Is there a better way to close VSTO add-in for Outlook 2010 from the add-in code than throwing an exception? I don't like to throw exception because Outlook may think that my add-in is not stable. ---Edit:--- By close I mean stop execution of the…
Andriy Kozachuk
  • 743
  • 1
  • 13
  • 27
5
votes
1 answer

Deploying Outlook addin to a Citrix XenApp installation

I created an Outlook addin. It does nothing special, just adds a menu with one menu item. I followed the installer creation tutorial from…
Altealice
  • 3,572
  • 3
  • 21
  • 41
5
votes
1 answer

VbaProject.OTM deployment

I came by this page and was thinking about the best method to distribute my VbaProject.OTM file (located into %appdata%\Microsoft\Outlook\) to a bunch of ~30 users at my office. Is it better to simply copy/paste the OTM file onto the network and…
dan
  • 3,439
  • 17
  • 54
  • 82
5
votes
3 answers

Outlook 2013 add-in with VS 2010

Sorry for asking such a stupid question, but i googled for about two hours and couldn't find an answer to my question: How can i develop an Outlook 2013 add-in? I have an add-in which was created in C# 2010 and for Outlook 2010. Now i would like to…
AlexS
  • 344
  • 4
  • 14
5
votes
1 answer

Pop-up notification for Outlook Add-in (calling Form.Show() from background thread issue)

My Outlook 2010 add-in (using VSTO) does some web-service calls in a different thread when a mail is sent. I'd like to display a small non-modal pop-up notification (like those of Skype/yahoo/Windows live messenger) displaying the result of the…
FahimH
  • 151
  • 1
  • 7
5
votes
0 answers

Outlook addin in C#: what happens between Forward and Open events?

In Outlook addin I have two event handlers registered, for MailItem.Forward and MailItem.Open When I receive Forward, I am getting an object parameter that references a new MailItem object created for the new message. When I look at object.HTMLBody…
Pawel Pieczul
  • 131
  • 1
  • 4
5
votes
2 answers

How to manually set password for MSBuild sign target?

We are building an Outlook plugin in C#. It is built without problems in VS and signed with a temporary pfx certificate. We want to put the build process in Jenkins and have it run automatically. We tried to run the VS solution with MSBuild. It…
alexsimi
  • 51
  • 1
  • 2
5
votes
1 answer

Event after a Outlook Appointment was saved

I am writing an Outlook Add-in and want to do something (not relevant here) with the data of an Appointment after (when) it was saved. (i am new to Outlook-Addins) so i found that there is an AfterWrite event where i can register a Method. And there…
Xaw4
  • 176
  • 2
  • 9
5
votes
2 answers

Outlook Addin Error: Not loaded. A runtime error occurred during loading of COM add-in

I have created an VSTO Outlook addin. The configuration is as follows: Visual Studio 2008 Office 2007 Outlook add in (3.5 Framework) MSI created using Visual Studio Setup Project Deployed to Office 2010 under windows 7 It works fine on the Dev PC…
John
  • 29,788
  • 18
  • 89
  • 130
5
votes
2 answers

How to access the Inspector window Ribbon in Outlook?

I'm new to Outlook programming so for the first step (more advanced later) is the following task: Create a new ribbon (Ribbon1) tab (should be shown in explorers and new inspectors) When selecting (Explore) or opening (Inspector) a mail the ribbon…
RWJ
  • 435
  • 5
  • 10
5
votes
3 answers

How to differentiate between Inline image and attachment in outlook 2010 [C#]

Hi I have to read attachment and inline image separately in local directory from outlook 2010 using C#. I have used property and content ID concept for this. I am using following code for doing that but it is now working. if…
zytham
  • 613
  • 1
  • 12
  • 27
5
votes
1 answer

How to capture Print event in Outlook Add-in?

I'm working on a C# VSTO 3.0 Outlook Add-in where I need to capture the Print event (When user selects Print option from Outlook to print an Email). I could not find any API in Outlook Object Model which provide access to this event. Is there any…
Kapil
  • 9,469
  • 10
  • 40
  • 53
4
votes
1 answer

Determining if Outlook Appointment is opened as Single Occurrence or Series?

I'm building an Outlook add-in in Visual Studio 2010, using VSTO with VB.net, to sync Outlook Calendar data with an internal, proprietary Calendar. Our users want to be able to open a recurring appointment in Outlook, send the Appointment details…
GarrettMurphy
  • 289
  • 4
  • 16
4
votes
1 answer

Centering WPF dialog spawned from VSTO Outlook Add-In

I'm working on an Outlook 2010 add-in that provides a dialog for user input. The code necessary for displaying the button in the ribbon is in its own Outlook 2010 Add-in project. That project has a reference to a WPF User Control Library that is…
Megan
  • 2,534
  • 1
  • 17
  • 15
4
votes
1 answer

How to get selection in a mailItem Body using outlook addin 2007 and VSTO c#

I would like to highlight some text within the body of an e-mail and then click on something (toolbar button, etc) Outlook.Application myApplication = Globals.ThisAddIn.Application; Outlook.Explorer myActiveExplorer =…
user1194280