VSTO2005架构概述

    使用 Visual Studio Tools for Office 2005 可以实现两种类型的解决方案:文档级和外链应用程序级。前者可以简单理解为“功能增强的 Word文档/Excel 工作簿(有点象.Net版的VBA)”,后面可以简单解释为“使用VSTO开发 Word.Net/Excel.Net 应用程序(即可以象 VB.Net和 C# 一样开发企业级的应用程序)。 
    使用 VSTO 2005 创建的方案由两个文件组成:一个 Word 文档或 Excel 工作簿以及一个程序集。前台就是大家非常熟悉的Office操作界面,后台由程序集来实现复杂的业务逻辑。 
    创建或运行 VSTO 解决方案,必须先安装 Microsoft Office 主互操作程序集/PIAs。PIAs使托管代码可以与 Microsoft Office 应用程序的基于 COM 的对象模型进行交互。可以采用以下两种方式来安装主互操作程序集的完整集:1. 执行 Microsoft Office 的完全安装;2. 从可再发行主互操作程序集程序包安装主互操作程序集。

转载于:https://www.cnblogs.com/feiweiwei/archive/2007/11/23/969389.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Professional VSTO 2005: Visual Studio 2005 Tools for Office 英文原版非影印版 Professional Visual Studio 2005 Tools for Office satisfies the need to write enterprise software based on Office by delivering practical solutions for those seeking to port existing functionality to VSTO. The book focuses on code and implementation, not theory, with code examples presented in both VB and C#. The book is especially written for enterprise developers - VBA or COM Interop savvy - who need to leverage the power and productivity of VSTO today. .NET developers seeking to explore VSTO as a potential solution will also find ample material that suits their needs. This book covers VSTO 2005 in detail. The approach focuses on the major components that form the suite with the exception that InfoPath is not covered. All other components benefit from an exploration of the key objects that are most likely to be used in common programming scenarios. This book is organized into chapters that present the building blocks of VSTO first. Microsoft Excel and its Range objects form the cornerstone of range manipulation across the VSTO suite. For that reason, the first few chapters explain these basic concepts. Subsequent chapters use these building blocks as a starting point so it is important to be familiar with these concepts before skipping to the back of the book. Once you gain a complete understanding of the Excel Range object in Chapters 2 and 3, you can apply that knowledge to the remaining chapters. In fact, Microsoft Word, Charts and Pivot Table manipulation are all based on the Excel Range object. (VSTO contains a potent charting engine second to none. And this book explores every facet of charting.) The obvious benefit of this clever architecture is that it significantly reduces the learning curve for those who wish to adopt this relatively new technology. And this book is designed to show you how to exploit this architecture.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值