除非在每次打开Word之前每次都删除normal.dot,否则Word Addin无法正常工作 [英] Word Addin does not work unless I delete normal.dot every time before opening Word

查看:103
本文介绍了除非在每次打开Word之前每次都删除normal.dot,否则Word Addin无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Visual Studio 2008为Word创建了此加载项.
该加载项在我第一次使用时效果很好,但是如果我关闭Word并再次打开它,则自定义"菜单栏和按钮会停止

如果我删除模板"normal.dot", (在用户/应用程序数据/Microsoft/Templates文件夹中),然后再次打开Word,我的加载项再次开始工作.结果,我正在使用一个批处理文件来立即运行我的插件.该批处理首先清理Templates文件夹,然后启动word.

还有其他替代方法或解决方法吗?我无法分发具有此缺陷的加载项,因为可能无法每次都要求用户删除其normal.dot....请帮助!


I've made this add-in for word with Visual Studio 2008.
The Add-in works well the first time I use it, but if I close Word and open it again, the Custom menubar and buttons stop working.

If I delete the template "normal.dot" (In the user/Application Data/Microsoft/Templates folder) and then open Word again, my add-in starts working again. As a result of this, I'm using a Batch file to run my addin right now; the batch first cleans the Templates folder and then launches word.

Is there any other alternative or workaround? I can't distribute my add-in with this defect since couldnt possibly ask the users to delete their normal.dot every time.... Pls help!


推荐答案

将此问题发布在 用于Office的Visual Studio工具 ,您将获得更好的答案.
Post this issue in Visual Studio Tools for Office and you can get better answer.


这篇关于除非在每次打开Word之前每次都删除normal.dot,否则Word Addin无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆