我已经使用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无法正常工作
发布评论