I'm checking Ms Office version

孤人 提交于 2020-01-05 03:31:34

问题


I'm currently maintaining an old plugin for Office. Current solution has a method for determining what version of Office is currently installed. It looks into the registration db for PublicKeyToken=71e9bce111e9429c and the Version=. All good and dandy. For Office 2003 the Version=11, for Office 2007 the Version=12. For Office 2010 the Version=14. Ehm what? Are we not counting 10-11-12-13-14-15 etc anymore?

Perhaps my google-fu is failing me telling me the word/number I seek is 14, or I'm missing some detail. Looking at MSDN and using <insert curse word> search engine was also unsuccesful.

Is Office 2010 Version=14 ?

Unfortunately for me, I only have Office 2007, so no help there. I'm not asking about How to get version, that is done already.


回答1:


Version 13 is skipped for reasons of superstition (triskaidekaphobia, the aversion to the number 13). So indeed, Office 2007 is internally versioned Office 12, and Office 2010 is Office 14.

See this FAQ




回答2:


From Wikipedia: The version number 13 was skipped because of the aversion to the number 13.



来源:https://stackoverflow.com/questions/3839443/im-checking-ms-office-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!