Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 out the current outlook version?

Thanks, Harsha

like image 997
Harsha R Avatar asked Apr 28 '11 09:04

Harsha R


People also ask

What is outlook VSTO?

Visual Studio provides project templates you can use to create VSTO Add-ins for Microsoft Office Outlook. You can use VSTO Add-ins to automate Outlook, extend Outlook features, or customize the Outlook user interface (UI).

How do I deploy VSTO add-ins in Outlook?

On the File menu, point to New, and then click Project. In the templates pane, expand Visual C# or Visual Basic, and then expand Office/SharePoint. Under the expanded Office/SharePoint node, select the Office Add-ins node. In the list of project templates, choose an Outlook VSTO Add-in project.

Does Vsto work with Office 365?

There are two ways to have a Microsoft Office 365 integration: through the COM/VSTO add-in or an Office Add-in.

How do I add a VSTO for Outlook 2013 and 2016?

Steps for creating VSTO Add-in for Outlook 2013 and 2016Open Visual Studio 2017 and create a new project by clicking on File→New->Project. Give a proper name for the add-in in Name Textbox, and then choose a location from where you want to keep your add-in application. Finally, click on the OK button.


2 Answers

Globals.ThisAddIn.Application.Version
like image 81
BKH Avatar answered Oct 17 '22 04:10

BKH


OL: How to Programmatically Determine the Version of Outlook.

like image 1
JPBlanc Avatar answered Oct 17 '22 06:10

JPBlanc