Detect Outlook Installed Version

OSVBNET 1,391 Reputation points
2022-05-16T12:00:21.31+00:00

Hello,
Using default value of this registry key I detect the installed Outlook version:

ClassesRoot("Outlook.Application", "", "")

I have tested this key for Outlook 2000, 2002, 2003, 2007, 2010, 2013 and 2016 and it's all OK
For example, for Outlook 2016 the value is: "Microsoft Outlook 16.0 Object Library"

The problem is that for Outlook 2019 and 2021 it's:
"Microsoft Outlook Application"

Or any better way to detect installation AND version of Outlook on a system?
Just in VB.NET without using Office COM objects!

Developer technologies | VB
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.