开发 MS Word 插件
有人知道在 .net 中开发 Word 插件的好工具吗? 希望能同时支持 Office 2003 和 2007。
谢谢。
Anyone knows of a good tool for developing add-ins for Word in .net?
Hopefully something that supports both office 2003 and 2007.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Office 开发工具有很多选项。 最明显的当然是 Office 本身。 它对宏和VBA有丰富的支持。 您还可以使用 SharePoint 来扩展文档共享和管理功能。 但是,如果您的加载项比 Office 内部处理的更复杂,我建议您使用 Visual Studio 2008 或 Tools For Office Visual Studio 2005 的附加组件。
需要记住的一件事是,Office 主要是 COM 对象的集合。 因此,虽然像 Visual Studio 这样的工具凭借其对 .NET Framework 和 Office 类的深入支持,使得开发 Office 应用程序解决方案变得非常简单,但只要有一些时间、精力和对痛苦的高度容忍度,您就可以开发一个 Office 附加组件——用记事本输入。
Microsoft 为 Office 开发人员提供了一个非常好的资源网站此处< /a>.
There are lots of options for development tools for Office. The most obvious one is of course Office itself. It has rich support for macros and VBA. You could also use SharePoint to extend document sharing and management functionality. But if your add-in is more complex than can be handled inside of Office, I suggest you use Visual Studio 2008 or the Tools For Office add-on for Visual Studio 2005.
One thing to keep in mind is that Office is mostly a collection of COM objects. So while tools like Visual Studio, with its deep support of the .NET Framework and Office classes make it very simple to develop solutions for Office applications, with some time, energy, and a high tolerance for pain, you could develop an Office add-in with Notepad.
Microsoft has a very nice resource site for Office developers here.
有多种工具可用于开发 Office 扩展,并且有很多关于该主题的书籍。 一些更流行的方法是:
Several tools can be used to develop extensions for Office and there are quite a number of books on the subject. Some of the more popular approaches are:
Visual Studio 2008。VB.NET。
Visual Studio 2008. VB.NET.
任何版本的 Visual Studio 都可以完成这项工作。 请记住考虑部署以及您是否希望要求用户安装这个或那个版本的 .net 框架。
Any version of Visual Studio will do the job. Remember to think about deployment and if you'd want to require the user to have this or that version of the .net framework installed.
丹尼尔·莫斯一些非常好的 VSTO 入门网络广播,请观看这些。
Daniel Moth have made some very good VSTO primer webcasts, take a look at those.