VSTO替代品 [英] VSTO Alternatives

查看:224
本文介绍了VSTO替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VSTO有哪些替代方案?

What alternatives exist for VSTO?

VSTO没有管理什么?什么时候使用一个vs另一个

What does managedxll do that VSTO does not - When would you use one vs the other

Google在这个问题上并没有带来太多的争议。

Google does not bring much up on this subject

这更多的是面试问题 - 哪些是利弊,而且两者都是关键

This is more of an interview question - What are the pros and cons and both is the crux of the question here

推荐答案

VSTO假定您正在使用Visual Studio作为开发平台,因此主要针对专业和企业开发人员。使用VBA创建宏和加载项的强力用户似乎不是VSTO的目标受众。

VSTO presumes you are using Visual Studio as your development platform, thus mainly targeting professional and corporate developers. 'Power users' who create macros and add-ins with VBA seem not to be the the target audience for VSTO.

如果您对Excel的加载项感兴趣,本机的.xll加载项比VSTO具有一些特定的优势,特别是它们支持创建高性能的用户定义函数。诸如 ExcelDna (和您提到的ManagedXll)之类的库可以轻松创建.xll加载项为Excel使用托管代码。与OmegaMan所说的相反,这些基于.xll的加载项不能通过Automation Add-in接口工作,支持从'97到Excel 2010的Excel版本,并允许VSTO不支持的高级功能,如无注册功能区和RTD支持。

If you are interested in add-ins for Excel, the native .xll add-ins have some specific advantages over VSTO, in particular they support creating high-performance user-defined functions. Libraries like ExcelDna (and ManagedXll which you mention) make it easy to create .xll add-ins for Excel using managed code. Contrary to what OmegaMan says, these .xll-based add-ins do not work through the Automation Add-in interfaces, support Excel versions from '97 to Excel 2010 and allow advanced features that VSTO does not support, like registration-free Ribbon and RTD support.

为各种其他办公应用程序(特别是Outlook)创建加载项,您还可以查看 Add-in Express

For creating add-ins for various other office applications, in particular for Outlook, you could also look at Add-In Express.

这篇关于VSTO替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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