加入办公室2007/2010 [英] Add-in office 2007 / 2010

查看:69
本文介绍了加入办公室2007/2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有点失去了症状...... 

Hi all, i´m a little bit lost with the symptoms.... 

我有一个使用c#和visual studio编写的Excel的VSTO插件2010. 

I´ve got a VSTO addin for Excel written using c# and visual studio 2010. 

添加适用于Office 2010,Office 2013甚至
使用安装程序部署它们

The adding works great for office 2010, office 2013 even deploying them using an installer.

我在office 2007中找到的安装程序完成后未运行。奇怪的是,插件列在COM Addins下但它没有加载或运行。

I´ve found in office 2007 is not running after the installer is complete. Curiously the addin is listed under the COM Addins but it doesn't load or run.

我在我的开发箱上安装了Office 2007并使用Visual Studio 2010构建了添加。运行良好!

I´ve installed Office 2007 on my dev box and built the adding using Visual Studio 2010. The Addin runs good!

这似乎是清单或其他问题。

It seems to be a problem with the manifest or something.

任何人都可以给我一个提示?

Can anybody give me a hint?

提前致谢。




推荐答案

您好,

您是否有机会查看Windows注册表项?请参阅
申请表注册表条目 - 级别加载项
以获取更多信息。

Did you have a chance to check out the windows registry keys? See Registry Entries for Application-Level Add-Ins for more information.

Microsoft Office应用程序可以禁用意外行为的VSTO加载项。如果应用程序未加载VSTO加载项,则应用程序可能已禁用硬件或软件禁用VSTO加载项。

硬件当VSTO加载项导致应用程序意外关闭时,可能会发生禁用。如果在  启动   事件VSTO加载项中的
处理程序是执行。

Hard disabling can occur when an VSTO Add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your VSTO Add-in is executing.

当VSTO加载项产生的错误不会导致应用程序意外关闭时,可能会发生软禁用。例如,如果某个应用程序在 启动   事件
处理程序正在执行。

重新启用软禁用的VSTO加载项时,应用程序会立即尝试加载VSTO加载项。如果最初导致应用程序软件禁用VSTO加载项的问题尚未修复,则应用程序将软化
再次禁用VSTO加载项。有关详细信息,请参阅
如何:重新启用VSTO添加 - 已被禁用
文章。

When you re-enable a soft-disabled VSTO Add-in, the application immediately attempts to load the VSTO Add-in. If the problem that initially caused the application to soft disable the VSTO Add-in has not been fixed, the application will soft disable the VSTO Add-in again. Read more about that in the How to: Re-enable a VSTO Add-in That Has Been Disabled article.

最后,确保已安装所有必需的先决条件。请参阅

使用Windows Installer部署Office解决方案。

PS 您还可以找到
运行解决方案不同版本的Microsoft Office
文章很有用。

P.S. Also you may find the Running Solutions in Different Versions of Microsoft Office article helpful.


这篇关于加入办公室2007/2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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