How can I programmatically find the correct Microsoft Office product version number (and service pack)?
问题 I'm having trouble finding a consistent version number for several Office products. This post led me to these KB articles which suggest different ways to find the service packs for Office 2007 and Office 2010 products. However, the file versions of the Office .exe files are not consistent with the chart. Using the Excel 2010 installed on my machine as an example: Help > About info from Excel: Microsoft Excel 2010 (14.0.6106.5005) SP1 File version by viewing the properties of Excel.exe: 14.0