0

I have a requirement where I need to have a custom ribbon added to the Word 2007 file which will be populated from some items. I created a add-in using this and pressing F5 opens Word file contains the newly added custom ribbon. But I save that word file and open that again and It does not have that newly added custom ribbon. I am sure I am missing something here.Could anybody throw some light?

4

1 回答 1

0

我保存那个word文件并再次打开它

您是否在从 Visual Studio 运行的 Word 实例之外再次打开它?您的加载项可能仅在您调试项目时可用。

检查注册表中是否存在加载项的条目,位于:

HKLM\Software\Microsoft\Office\Word\Addins\.

如果不存在任何条目,我发现将 VSTO 加载项部署到您的计算机的最简单方法是在 Visual Studio 中为其创建一个安装项目。

于 2011-05-03T20:18:04.087 回答