I am working on a console app which perform some operation on registry. I am not using any interop assembly for office but i need to to know office version. How to determine which version of MS office is installed on the machine using C#.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Search in (using the Registry class)
or
Version numbers are
Here is a c# implementation
I had the same requirement, but I also have to find out whether office installed is 32-bit or 64-bit. I have documented my solution here:
http://cyrilbeschi.blogspot.com/2014/03/how-to-find-microsoft-office-version.html