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
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).
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.
There are two ways to have a Microsoft Office 365 integration: through the COM/VSTO add-in or an Office Add-in.
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.
Globals.ThisAddIn.Application.Version
OL: How to Programmatically Determine the Version of Outlook.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With