
Visual Studio Tools for Office 2007 VSTO for Excel, Word, and Outlook
by Carter, Eric; Lippert, EricRent Book
New Book
We're Sorry
Sold Out
Used Book
We're Sorry
Sold Out
eBook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
Eric Carter is a development manager on the Visual Studio team at Microsoft. He helped invent, design, and implement many of the features that are in VSTO today. Previously at Microsoft he worked on Visual Studio for Applications, the Visual Studio Macros IDE, and Visual Basic for Applications for Office 2000 and Office 2003.
Eric Lippert’s primary focus during his twelve years at Microsoft has been on improving the lives of developers by designing and implementing useful programming languages and development tools. He has worked on the Windows Scripting family of technologies, Visual Studio Tools for Office, and, most recently, on the C# compiler team.
Table of Contents
Figures | p. xxxi |
Tables | p. xlv |
Foreword | p. li |
Preface | p. lv |
Acknowledgments | p. lix |
About the Authors | p. lxi |
An Introduction to VSTO | p. 1 |
An Introduction to Office Programming | p. 3 |
Why Office Programming? | p. 3 |
Office Business Applications | p. 3 |
Office Object Models | p. 7 |
Properties, Methods, and Events | p. 14 |
The Office Primary Interop Assemblies (PIAs) | p. 39 |
Conclusion | p. 48 |
Introduction to Office Solutions | p. 51 |
The Three Basic Patterns of Office Solutions | p. 51 |
Office Automation Executables | p. 54 |
Office Add-Ins | p. 69 |
Code Behind a Document | p. 78 |
Conclusion | p. 86 |
Office Programming in .NET | p. 87 |
Programming Excel | p. 89 |
Ways to Customize Excel | p. 89 |
Programming User-Defined Functions | p. 98 |
Introduction to the Excel Object Model | p. 108 |
Conclusion | p. 112 |
Working with Excel Events | p. 115 |
Events in the Excel Object Model | p. 115 |
Conclusion | p. 162 |
Working with Excel Objects | p. 163 |
Working with the Application Object | p. 163 |
Working with the Workbooks Collection | p. 178 |
Working with the Workbook Object | p. 181 |
Working with the Worksheets, Charts, Working with Document Properties | p. 192 |
Working with the Windows Collections | p. 195 |
Working with the Window Object | p. 199 |
Working with the Names Collection and Name Object | p. 202 |
Working with the Worksheet Object | p. 204 |
Working with the Range Object | p. 219 |
Special Excel Issues | p. 235 |
Conclusion | p. 241 |
Programming Word | p. 243 |
Ways to Customize Word | p. 243 |
Programming Research Services | p. 249 |
Introduction to the Word Object Model | p. 261 |
Conclusion | p. 262 |
Working with Word Events | p. 267 |
Events in the Word Object Model | p. 267 |
Events in Visual Studio Tools for Office | p. 307 |
Conclusion | p. 310 |
Working with Word Objects | p. 311 |
Working with the Application Object | p. 311 |
Working with the Dialog Object | p. 332 |
Working with Windows | p. 338 |
Working with Templates | p. 341 |
Working with Documents | p. 343 |
Working with a Document | p. 348 |
Working with the Range Object | p. 369 |
Working with Bookmarks | p. 392 |
Working with Tables | p. 394 |
Working with Content Controls | p. 396 |
Conclusion | p. 403 |
p. 9 | |
Programming Outlook | p. 405 |
Ways to Customize Outlook | p. 405 |
Introduction to the Outlook Object Model | p. 419 |
Conclusion | p. 422 |
Working with Outlook Events | p. 425 |
Events in the Outlook Object Model | p. 425 |
Application-Level Events | p. 427 |
Outlook Item Events | p. 448 |
Other Events | p. 470 |
Conclusion | p. 473 |
Working with Outlook Objects | p. 475 |
Working with the Application Object | p. 475 |
Working with the Explorers and Inspectors Collections | p. 486 |
Working with the Explorer Object | p. 488 |
Working with the Inspector Object | p. 501 |
Working with the NameSpace Object | p. 506 |
Working with the Folder Object | p. 519 |
Working with the Items Collection | p. 534 |
Properties and Methods Common to Outlook Items | p. 548 |
Conclusion | p. 569 |
p. 571 | |
The VSTO Programming Model | p. 573 |
The VSTO Programming Model for Documents | p. 573 |
VSTO Extensions to Word and Excel Document Objects | p. 576 |
Dynamic Controls in the Document | p. 584 |
Advanced Topic: Class Hookup and Cookies | p. 591 |
Advanced Topic: Inspecting the Generated Code | p. 594 |
VSTO Extensions to the Word and Excel Object Models | p. 599 |
The VSTO Programming Model for Add-Ins | p. 619 |
Using VSTO Document Features in Application-Level Add-Ins | p. 621 |
Advanced Topic: Creating Worksheets Dynamically | p. 624 |
Conclusion | p. 625 |
Using Windows Forms and WPF in VSTO | p. 627 |
Introduction | p. 627 |
Adding Windows Forms Controls to Your Document | p. 634 |
Writing Code Behind a Control | p. 641 |
The Windows Forms Control Hosting Architecture | p. 643 |
Properties Merged from OLEObject or OLEControl | p. 654 |
Adding Controls at Runtime | p. 658 |
Using WPF Controls in the Document | p. 669 |
Conclusion | p. 671 |
Working with Document-Level Actions Panes | p. 673 |
Introduction to the Document Actions Task Pane | p. 673 |
Working with the ActionsPane Control | p. 680 |
Using WPF Controls in an Actions Pane | p. 697 |
Conclusion | p. 699 |
Working with Application-Level Custom Task Panes | p. 701 |
Introduction to the Application-Level Custom Task Panes | p. 701 |
Working with Custom Task Panes | p. 704 |
Custom Task Panes and Application Windows | p. 710 |
Using WPF Controls in a Custom Task Pane | p. 719 |
Conclusion | p. 722 |
Working with Outlook Form Regions | p. 723 |
Introduction to Form Regions | p. 723 |
Form Region Types and Custom Message Classes | p. 743 |
Creating an Outlook Forms-Based Form Region | p. 749 |
Outlook Form Region Programmability | p. 765 |
Conclusion | p. 774 |
Working with the Ribbon in VSTO | p. 777 |
Introduction to the Office Ribbon | p. 777 |
Working with the Ribbon in the Ribbon Designer | p. 800 |
Creating a Ribbon in an Excel Workbook Project | p. 812 |
Creating a Ribbon in an Outlook Add-In Project | p. 825 |
Advanced Ribbon Topics | p. 836 |
Conclusion | p. 850 |
Working with Smart Tags in VSTO | p. 851 |
Introduction to Smart Tags | p. 851 |
Creating Document-Level Smart Tags with VSTO | p. 855 |
Creating Application-Level Smart Tags | p. 874 |
Conclusion | p. 880 |
VSTO Data Programming | p. 881 |
Creating a Data-Bound Customized Spreadsheet with VSTO | p. 882 |
Creating a Data-Bound Customized Word Document with VSTO | p. 889 |
Datasets, Adapters, and Sources | p. 891 |
Another Technique for Creating Data-Bound Documents | p. 901 |
Caching Data in the Data Island | p. 908 |
Advanced Topic: Using ICachedType | p. 911 |
Advanced ADO.NET Data Binding: Looking Behind the Scenes | p. 913 |
Binding-Related Extensions to Host Items and Host Controls | p. 914 |
Using Data Binding and Dynamic Controls from an Application-Level Add-In | p. 921 |
Conclusion | p. 928 |
Server Data Scenarios | p. 929 |
Populating a Document with Data on the Server | p. 929 |
Using ServerDocument and ASP.NET | p. 931 |
A Handy Client-Side ServerDocument Utility | p. 939 |
The ServerDocument Object Model | p. 941 |
Conclusion | p. 952 |
ClickOnce Deployment | p. 955 |
Introduction | p. 955 |
Prerequisites | p. 956 |
Deploying Add-Ins | p. 958 |
Deploying Document Solutions | p. 982 |
ClickOnce Security | p. 995 |
Other Deployment Scenarios | p. 1009 |
Advanced Topic: Editing Manifests Using Mage | p. 1010 |
Conclusion | p. 1015 |
Bibliography | p. 1017 |
Index 1019 | |
Table of Contents provided by Publisher. All Rights Reserved. |
Excerpts
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.