我目前正在维护一个旧的 Office 插件。当前的解决方案有一种方法可以确定当前安装的 Office 版本。它会查找注册数据库中的 PublicKeyToken=71e9bce111e9429c
和 Version=
。一切都很好,花花公子。对于 Office 2003,为 Version=11
;对于 Office 2007,为 Version=12
。对于 Office 2010,版本=14
。嗯什么?我们不再计算 10-11-12-13-14-15 等了吗?
也许我的 google-fu 无法告诉我我要查找的单词/数字是 14,或者我遗漏了一些细节。查看MSDN并使用<
插入咒语>
搜索引擎也不成功。
是 Office 2010 版本=14
吗?
不幸的是,我只有 Office 2007,所以没有任何帮助。我不是问如何获取版本,这已经完成了。
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.
发布评论
评论(3)
由于迷信(triskaidekaphobia,厌恶数字 13)的原因,版本 13 被跳过。事实上,Office 2007 是 Office 12 的内部版本,Office 2010 是 Office 14。
另请查看 第 9 频道上的此视频。
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.
Also check out this video on Channel 9.
来自维基百科:由于厌恶数字 13,因此跳过了版本号 13。
From Wikipedia: The version number 13 was skipped because of the aversion to the number 13.