VSTO for Mere Mortals: A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office
暫譯: 普通人也能學會的 VSTO:VBA 開發者的 Microsoft Office 開發指南,使用 Visual Studio 2005 Office 工具
Kathleen McGrath, Paul Stubbs
- 出版商: Addison Wesley
- 出版日期: 2006-12-01
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 736
- 裝訂: Paperback
- ISBN: 0321426711
- ISBN-13: 9780321426710
-
相關分類:
Excel、Visual Studio
已絕版
買這商品的人也買了...
-
$1,250$1,225 -
$1,930$1,834 -
$920$902 -
$650$507 -
$550$435 -
$980$774 -
$650$507 -
$480$379 -
$1,360$1,292 -
$580$452 -
$680$578 -
$600$480 -
$720$569 -
$600$474 -
$860$731 -
$1,200$1,020 -
$1,900$1,805 -
$2,780$2,641 -
$300$270 -
$3,410$3,240 -
$1,930$1,834 -
$2,580$2,451 -
$2,290$2,176 -
$1,620$1,539 -
$1,900$1,805
商品描述
Description
Praise for VSTO for Mere Mortals™
"This is the book I wish I'd had when I was first introduced to VSTO and the .NET Framework. It will be invaluable not only to those considering VSTO, but for anyone transitioning from Office VBA to Visual Basic.NET. The wide range of subjects covered provides an entry point for the more in-depth, developer-oriented documentation available on MSDN and elsewhere."
–Cindy Meister, MS Word MVP
"VSTO for Mere Mortals™ does a great job of building a bridge between the worlds of VBA and VSTO. Kathleen and Paul show how a VBA developer can have the richness of Office and also the power, maintainability, and security of Visual Studio. They succeeded in writing a book that is approachable, understandable, and compelling."
–KD Hallman, General Manager, Microsoft, Developer Division
"This book is an excellent choice for VBA developers looking to make the switch to .NET development for Office using Visual Studio Tools for Office. In many instances VB.NET code is presented alongside equivalent VBA code to help illustrate key conceptual and usage differences."
–Steve Hansen, OfficeZealot.com, author of Mastering Excel 2003 Programming with VBA and coauthor of Mastering Excel 2000 Premium Edition
"Visual Studio 2005 Tools for Office is the way to go for building managed Office applications. If you're moving from VBA to managed code, this book shows you the way."
–Ken Getz, Senior Consultant, MCW Technologies, LLC
"This book is highly recommended for VBA developers who are interested in doing Office programming using the rich power of Visual Studio and .NET."
–Mei Liang, Software Design Engineer in Test, Microsoft
"Kathleen McGrath has stuffed VSTO for Mere Mortals™ with in-depth code samples that demonstrate VSTO in an easy-to-understand way. From simple how-to's to advanced functionality, it's all here. I learned a great deal from reading this book."
–Justin Whitney, Technical Journalist
"This book provides an instantly accessible resource for VBA and Office developers to become familiar with the powerful new Office development platform, but even goes beyond that, providing a number of 'worth the purchase of the book' tips, fully functional examples, and elegant methods from someone who has obviously spent a lot of time with these tools to help the mortal on the path to becoming a guru."
–Rory Plaire, Solutions Architect, DigitalCommons LLC
"For the Office VBA developer interested in programming in .NET or the .NET programmer looking to move to the Office platform, this book is worth its weight in gold. If you are looking for a complete, well-written source to quickly get you up to speed to develop and program Office solutions in Visual Studio 2005, I believe this book is a must-have."
–Frank Rice, Programming Writer, Microsoft Office Developer Center
"With this book, VBA developers have access to a great resource that will help them understand essential concepts of managed code and best practices to migrate VBA solutions to Visual Basic 2005 and Visual Studio 2005 Tools for Office. This book goes beyond an introduction to VSTO to introduce the new world of VSTO 2005 SE and the 2007 Microsoft Office system."
–Erika Ehrli Cabral, Site Manager, MSDN Office Developer Center, Microsoft
"Kathleen and Paul have been involved with VSTO in one way or the other from its very beginnings, and it shows. Their depth and breadth of knowledge is reflected in this detailed and authoritative book. I highly recommend it for any professional developer making the transition from VBA to managed code."
–Eric Lippert, Software Design Engineer, Microsoft
VSTO for Mere Mortals™ is for VBA developers who are interested in migrating their skills to the next generation of Office development. Readers will benefit from a straightforward, practical introduction to writing managed code applications for Word 2003, Excel 2003, and Outlook 2003. Readers will also learn how to create add-ins for the most popular applications for Office 2003 and the 2007 Microsoft Office system using VSTO 2005 SE.
The expert authors provide a wealth of code samples that show off popular features of VSTO, such as smart tags and the actions pane. Sample code also shows you how to customize the new UI features of the 2007 Microsoft Office system, including the ribbon, custom task pane, and Outlook forms region.
VBA developers will walk away with
- A greater understanding of managed code and the Visual Studio integrated development environment (IDE)
- Multiple demonstrations on how to create document-level customizations for Word 2003 and Excel 2003, using view controls, data binding, and the actions pane
- A comprehensive overview of add-in development for Outlook 2003
- Useful information on securing and deploying solutions created with VSTO and VSTO 2005 SE
- A thorough explanation on how to migrate VBA solutions to Visual Basic 2005 and VSTO
- Numerous details on customizing the ribbon, custom task pane, and Outlook form regions by developing VSTO 2005 SE add-ins for the 2007 Microsoft Office system
Table of Contents
商品描述(中文翻譯)
**描述**
**對《VSTO for Mere Mortals™》的讚譽**
「這是我第一次接觸 VSTO 和 .NET Framework 時希望擁有的書籍。這本書對於考慮使用 VSTO 的人來說是無價的,對於任何從 Office VBA 轉向 Visual Basic.NET 的人也同樣適用。涵蓋的廣泛主題為更深入的開發者導向文檔提供了一個入門點,這些文檔可在 MSDN 和其他地方找到。」
– Cindy Meister, MS Word MVP
「《VSTO for Mere Mortals™》成功地在 VBA 和 VSTO 之間架起了一座橋樑。Kathleen 和 Paul 展示了 VBA 開發者如何擁有 Office 的豐富性,同時也能享受到 Visual Studio 的強大、可維護性和安全性。他們成功地寫出了一本易於接近、易於理解且引人入勝的書。」
– KD Hallman, 微軟開發部門總經理
「這本書是希望轉向使用 Visual Studio Tools for Office 進行 .NET 開發的 VBA 開發者的絕佳選擇。在許多情況下,VB.NET 代碼與等效的 VBA 代碼並排呈現,以幫助說明關鍵的概念和使用差異。」
– Steve Hansen, OfficeZealot.com,《Mastering Excel 2003 Programming with VBA》的作者及《Mastering Excel 2000 Premium Edition》的合著者
「Visual Studio 2005 Tools for Office 是構建受管理的 Office 應用程序的最佳選擇。如果你正在從 VBA 轉向受管理的代碼,這本書將指引你前行。」
– Ken Getz, MCW Technologies, LLC 高級顧問
「這本書強烈推薦給對使用 Visual Studio 和 .NET 進行 Office 編程感興趣的 VBA 開發者。」
– Mei Liang, 微軟測試軟件設計工程師
「Kathleen McGrath 在《VSTO for Mere Mortals™》中提供了大量深入的代碼範例,以易於理解的方式展示 VSTO。從簡單的操作指南到高級功能,這裡應有盡有。我從閱讀這本書中學到了很多。」
– Justin Whitney, 技術記者
「這本書為 VBA 和 Office 開發者提供了一個立即可用的資源,幫助他們熟悉強大的新 Office 開發平台,甚至超越了這一點,提供了許多『值得購買這本書的提示』、完全可運行的範例,以及來自明顯花了大量時間使用這些工具的人的優雅方法,幫助普通人走上成為專家的道路。」
– Rory Plaire, DigitalCommons LLC 解決方案架構師
「對於對 .NET 編程感興趣的 Office VBA 開發者,或是希望轉向 Office 平台的 .NET 程式設計師,這本書的價值不言而喻。如果你在尋找一個完整且寫得很好的資源,以快速讓你熟悉在 Visual Studio 2005 中開發和編程 Office 解決方案,我相信這本書是必備的。」
– Frank Rice, 微軟 Office 開發中心程式設計作家
「有了這本書,VBA 開發者可以獲得一個很好的資源,幫助他們理解受管理代碼的基本概念和最佳實踐,以將 VBA 解決方案遷移到 Visual Basic 2005 和 Visual Studio 2005 Tools for Office。這本書不僅僅是對 VSTO 的介紹,還介紹了 VSTO 2005 SE 和 2007 Microsoft Office 系統的新世界。」
– Erika Ehrli Cabral, 微軟 MSDN Office 開發中心網站經理
「Kathleen 和 Paul 從 VSTO 的起步階段就參與其中,這一點顯而易見。他們的深厚知識和廣泛經驗在這本詳細且權威的書中得到了體現。我強烈推薦給任何從 VBA 轉向受管理代碼的專業開發者。」
– Eric Lippert, 微軟軟件設計工程師
《VSTO for Mere Mortals™》是針對希望將其技能遷移到下一代 Office 開發的 VBA 開發者。讀者將受益於對為 Word 2003、Excel 2003 和 Outlook 2003 編寫受管理代碼應用程序的簡單實用介紹。讀者還將學習如何使用 VSTO 2005 SE 為最受歡迎的 Office 2003 應用程序和 2007 Microsoft Office 系統創建附加元件。
專家作者提供了大量代碼範例,展示了 VSTO 的流行功能,如智能標籤和操作窗格。範例代碼還展示了如何自定義 2007 Microsoft Office 系統的新 UI 功能,包括功能區、自定義任務窗格和 Outlook 表單區域。
VBA 開發者將獲得:
- 對受管理代碼和 Visual Studio 整合開發環境 (IDE) 的更深入理解
- 多個示範,展示如何為 Word 2003 和 Excel 2003 創建文檔級自定義,使用視圖控制、數據綁定和操作窗格
- 對 Outlook 2003 附加元件開發的全面概述
- 有關使用 VSTO 和 VSTO 2005 SE 創建解決方案的安全性和部署的有用信息
- 如何將 VBA 解決方案遷移到 Visual Basic 2005 和 VSTO 的詳細解釋
- 有關通過為 2007 Microsoft Office 系統開發 VSTO 2005 SE 附加元件來自定義功能區、自定義任務窗格和 Outlook 表單區域的眾多細節
**目錄**
前言 xxi
序言 xxv
介紹 xxvii
致謝 xxxiii
關於作者 xxxv
第一部分 VSTO 介紹 1
第一章 開始使用 VSTO 3
本章涵蓋的主題 3
什麼是 VSTO? 3
為什麼使用 VSTO 而不是 VBA? 5
VSTO 的特性 7
創建 VSTO 解決方案 15
VSTO 如何與 Visual Studio 整合 22
總結 25
回顧問題 26
第二章 編程環境 27
本章涵蓋的主題 27
Visual Studio IDE 介紹 27
查看 IDE 視窗 35
編寫代碼的工具 52
構建和運行代碼 61
調試你的代碼 63
定位和使用幫助 82
總結 87
回顧問題 88
第三章 受管理代碼介紹 89
本章涵蓋的主題 89
什麼是受管理代碼? 89
面向對象編程介紹 91
探索 .NET Framework 108
VSTO 和受管理代碼 120
總結 126
回顧問題 127
第四章 從 VBA 遷移到 VSTO 和 Visual Basic 2005 129
本章涵蓋的主題 129
遷移到 Visual Basic 2005 129
Visual Basic 2005 的新特性 130
VBA 和 Visual Basic 2005 的語言差異 140
用戶表單與 Windows 表單 152
總結 170
回顧問題 170
第二部分 Word 和 Excel 171
第五章 自定義 Word 和 Excel 任務窗格 173
本章涵蓋的主題 173
什麼是任務窗格? 173
自定義文檔操作任務窗格 175
管理操作窗格 177
設計操作窗格解決方案 180
創建上下文敏感解決方案 194
總結 204
回顧問題 205
第六章 使用 VSTO 自定義 Word 207
本章涵蓋的主題 207