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
1
vote
1 answer

Run custom validation logic prior to sending appointment

Is there a way we can hook into an outlook appointment form and run some validation logic prior to "Send". For e.g. our business requirements are somewhat like this. Populate your meeting request by some means. We have some addin feature that does…
deostroll
  • 11,661
  • 21
  • 90
  • 161
1
vote
2 answers

The command line argument is not valid verify the switch you are using

I am trying to open a Outlook when user clicks on submit button of form by using javascript mailto: When I submit the form from chrome or firefox then it is able to open but in IE I am getting the following error: The command line argument is not…
user3663712
  • 121
  • 1
  • 3
  • 8
1
vote
1 answer

Get Members of Contact Group using SelectNamesDialog

I'm trying to get contact details in my outlook add-in using SelectNamesDialog. If the user selects individual contact items in the dialog, I'm able to get the details of each contact item using SelectNamesDialog. Recipients property. My problem is,…
1
vote
2 answers

Outlook Addin appointmentitem PropertyChange event firing too much

I'm creating an Outlook addin that needs to trigger when the attendees of a meeting are changed. The problem I'm encountering is that the PropertyChange event of an Appointment item is firing way too much and because of that I can't get the exact…
Koen S
  • 120
  • 8
1
vote
2 answers

How to create a top-level folder in my Outlook using vb.net - VB.NET, Outlook 2013

So as the title says, I am trying to create a top-level folder in my Outlook but I haven't got any success with it. I've read several tutorials and code snippets but non of them seem to be a success. So now i Have this piece of code which creates a…
Nicolas
  • 2,277
  • 5
  • 36
  • 82
1
vote
1 answer

Searching user tasks by task.body text

Good morning all! I have spent a good bit of time searching and reading forums about this, but I can't seem to find a solution. Any help you all can offer is greatly appreciated. I have created an Outlook Add-In via C# and Visual Studio 2013. …
1
vote
3 answers

Registry OpenSubkey returns null, although it is there

I have read almost all the other questions to this topic, but they usually resolved by using the wrong architecture view in the registry. I am trying to open a subkey in "...\Outlook\Addins". I have the subkey available for both architectures (…
Andreas
  • 828
  • 4
  • 15
1
vote
3 answers

Deploy Outlook add-in to Office Store

I made add-in for outlook and want to release it to store.office.com. I have dev license for office 365. I made add-in for Outlook using Visual Studio and everything works. I found Microsoft Seller Dashboard, where I can add my application. But…
1
vote
2 answers

Installing Outlook Add-In

I have a problem. I've been installing my VSTO Outlook Add-In to the Outlook 2007 on the account that has no security limitations. For the setup, I am using a normal visual studio setup project. I've had the user install few versions of my…
Victor F
  • 917
  • 16
  • 30
1
vote
1 answer

VSTO Outlook 2013 Addin Quit

I have a VSTO addin that displays a a dialog box with buttons yes no and cancel. I want the form to close anytime cancel or the X are clicked. I also want the application to quit when the form is closed. Here is my code: var frm = new…
ss7
  • 2,902
  • 7
  • 41
  • 90
1
vote
1 answer

How do I call method on ThisAddIn.cs class from myRibbon.cs

When developing Addin's for Outlook (or potentially other Office programs too) It can be useful to call methods back on the main class, but how do you do that from for example an event handler like a button_click event in a ribbon.
Essah
  • 899
  • 2
  • 8
  • 20
1
vote
1 answer

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.
Mark
  • 83
  • 4
1
vote
4 answers

Outlook AddIn Zoom.Percentage

Im trying to translate this VBA code from an Outlook AddIn to C# Private Sub objInspector_Activate() Handles objInspector.Activate Dim wdDoc As Microsoft.Office.Interop.Word.Document = objInspector.WordEditor …
1
vote
1 answer

VSTO Addin Save File Dialog

I have a VSTO addin that has a form with a saveFileDialog on it. I want to pass a specific filename and path to saveFileDialog to set the properties FileName and InitialDirectory. The problem is the only way I can see to do it is to modify…
ss7
  • 2,902
  • 7
  • 41
  • 90
1
vote
1 answer

How to determine if the RecurrencePattern in Outlook is end by a date or end by recurrence count

For a finite recurring appointment in Outlook, the RecurrencePattern interface doesn't expose a property to tell you if the pattern is end by a date or end by recurrence count. The PatternEndDate, EndTime, and Occurrences properties are always…
Leon Zhou
  • 633
  • 6
  • 20