Visual Studio Tools for Office: Using C# with Excel, Word, Outlook, and InfoPath
Eric Carter
Eric Lippert

ISBN-10: 0321334884
ISBN-13: 9780321334886

Publisher: Addison-Wesley Professional
Copyright: 2006
Format: Paper; 1008 pp
Published: 09/08/2005

Suggested retail price: $59.99
Buy from myPearsonStore

Visual Studio Tools for Office (VSTO) was released in August of 2003. It

brought the power of .NET to developing Word and Excel applications. While

powerful, it was also lacking in some key features, and difficult to use. VSTO

2005 will be released as part of the Whidbey release. It will be incorporated in

the more advanced versions of Visual Studio .NET 2005, and will also be

available as a stand-alone product. It has corrected many of the major problems

with the first version, and is poised to experience a rapid growth in usage.

Coverage has been expanded to include Outlook and InfoPath in addition to

Word and Excel. This book is not only written by key members of the team

that developed VSTO 2005, but it will also be the first book available on

VSTO. The authors provide both an introduction to VSTO as well as a tutorial

for using it, including lots of practical examples, and a refreshing honesty about

both the strengths and pitfalls of the technology. This book will be a must-have

for all the developers considering VSTO.

Direct from two of the lead developers of the product comes the definitive guide to using Visual Studio Tools for Office (VSTO) 2005.

° VSTO 2005 is a major new developer tool from Microsoft, and is a huge improvement over the first version. Usage should increase dramatically.

° Authors are two of the lead developers of VSTO, and the entire VSTO team is supporting the book.

° Both an overview of the product as well as a practical tutorial.

° Will be the first book on VSTO.

About the Authors.

Preface.

Acknowledgments.

Foreword.

I. AN INTRODUCTION TO VSTO.

1. An Introduction to Office Programming.

2. Introduction to Office Solutions.

II. OFFICE PROGRAMMING IN .NET.

3. Programming Excel.

4. Working with Excel Events.

5. Working with Excel Objects.

6. Programming Word.

7. Working with Word Events.

8. Working with Word Objects.

9. Programming Outlook.

10. Working with Outlook Events.

11. Working with Outlook Objects.

12. Introduction to InfoPath.

III. OFFICE PROGRAMMING IN VSTO.

13. The VSTO Programming Model.

14. Using Windows Forms in VSTO.

15. Working with Actions Pane.

16. Working with Smart Tags in VSTO.

17. VSTO Data Programming.

18. Server Data Scenarios.

19. .NET Code Security.

20. Deployment.

IV. ADVANCED OFFICE PROGRAMMING.

21. Working with XML in Excel.

22. Working with XML in Word.

23. Developing COM Add-Ins for Word and Excel.

24. Creating Outlook Add-Ins with VSTO.

Index.

ERIC CARTER is a lead developer on the Visual Studio Tools for Office (VSTO) 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 nine 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 and, most recently, Visual Studio Tools for Office.


© Copyright Pearson Education. All rights reserved.

"With the application development community so focused on the Smart Client revolution, a book that covers VSTO from A to Z is both important and necessary. This book lives up to big expectations. It is thorough, has tons of example code, and covers Office programming in general terms— topics that can be foreign to the seasoned .NET developer who has focused on ASP.NET applications for years. Congratulations to Eric Lippert and Eric Carter for such a valuable work!"

—Tim Huckaby, CEO, InterKnowlogy, Microsoft regional director

"This book covers all of the ins and outs of programming with Visual Studio Tools for Office in a clear and concise way. Given the authors' exhaustive experiences with this subject, you can't get a more authoritative description of VSTO than this book!"

—Paul Vick, technical lead, Visual Basic .NET, Microsoft Corporation

"Eric and Eric really get it. Professional programmers will love the rich power of Visual Studio and .NET, along with the ability to tap into Office programmability. This book walks you through programming Excel, Word, InfoPath, and Outlook solutions."

—Vernon W. Hui, test lead, Microsoft Corporation

"This book is an in-depth, expert, and definitive guide to programming using Visual Studio Tools for Office 2005. It is a must-have book for anyone doing Office development."

—Siew Moi Khor, programmer/writer, Microsoft Corporation

"We don't buy technical books for light reading; we buy them as a resource for developing a solution. This book is an excellent resource for someone getting started with Smart Client development. For example, it is common to hear a comment along the lines of, 'It is easy to manipulate the Task Pane in Office 2003 using VSTO 2005,' but until you see something like the example at the start of Chapter 15, it is hard to put 'easy' into perspective. This is a thorough book that covers everything from calling Office applications from your application, to building applications that are Smart Documents. It allows the traditional Windows developer to really leverage the power of Office 2003."

—Bill Sheldon, principal engineer, InterKnowlogy, MVP

"Eric Carter and Eric Lippert have been the driving force behind Office development and Visual Studio Tools for Office 2005. The depth of their knowledge and understanding of VSTO and Office is evident in this book. Professional developers architecting enterprise solutions using VSTO 2005 and Office System 2003 now have a new weapon in their technical arsenal."

—Paul Stubbs, program manager, Microsoft Corporation

"This book is both a learning tool and a reference book, with a richness of tables containing object model objects and their properties, methods, and events. I would recommend it to anyone considering doing Office development using the .NET framework; especially people interested in VSTO programming."

—Rufus Littlefield, software design engineer/tester, Microsoft Corporation

Visual Studio Tools for Office is both the first and the definitive book on VSTO 2005 programming, written by the inventors of the technology. VSTO is a set of tools that allow professional developers to use the full power of Visual Studio .NET and the .NET Framework to put code behind Excel 2003, Word 2003, Outlook 2003, and InfoPath 2003. VSTO provides functionality never before available to the Office developer: data binding and data/view separation, design-time views of Excel and Word documents inside Visual Studio, rich support for Windows Forms controls in a document, the ability to create custom Office task panes, server-side programming support against Office, and much more.

Carter and Lippert cover their subject matter with deft insight into the needs of .NET developers learning VSTO. This book

  • Explains the architecture of Microsoft Office programming and introduces the object models

  • Teaches the three basic patterns of Office solutions: Office automation executables, Office add-ins, and code behind a document

  • Explores the ways of customizing Excel, Word, Outlook, and InfoPath, and plumbs the depths of programming with their events and object models

  • Introduces the VSTO programming model

  • Teaches how to use Windows Forms in VSTO and how to work with the Actions Pane

  • Delves into VSTO data programming and server data scenarios

  • Explores .NET code security and VSTO deployment

Advanced material covers working with XML in Word and Excel, developing COM add-ins for Word and Excel, and creating Outlook add-ins with VSTO.


© Copyright Pearson Education. All rights reserved.

View a Sample Chapter PDF: /samplechapter/0321334884.pdf

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, contact your Pearson Higher Education representative for pricing and ordering information.

This title is a member of the Microsoft .NET Development Series, which also contains the titles below . You can also visit the Microsoft .NET Development Series page.

  • 0321288661.NET Class Libraries Reference Poster
    Abrams
    © 2004 | Addison-Wesley Professional | Paper; 2 pages | Instock
    ISBN-10: 0321288661 | ISBN-13: 9780321288660
    Buy from myPearsonStore

  • 0321174038.NET Compact Framework Programming with C#
    Yao & Durant
    © 2004 | Addison-Wesley Professional | Paper; 1424 pages | Instock
    ISBN-10: 0321174038 | ISBN-13: 9780321174031
    Brief Description

  • 0321174046.NET Compact Framework Programming with Visual Basic .NET
    Yao & Durant
    © 2004 | Addison-Wesley Professional | Paper; 1424 pages | Instock
    ISBN-10: 0321174046 | ISBN-13: 9780321174048
    Brief Description | Buy from myPearsonStore

  • 0321350170The .NET Developer's Guide to Directory Services Programming
    Kaplan & Dunn
    © 2006 | Addison-Wesley Professional | Paper; 512 pages | Instock
    ISBN-10: 0321350170 | ISBN-13: 9780321350176
    Buy from myPearsonStore

  • 0321228359The .NET Developer's Guide to Windows Security
    Brown
    © 2005 | Addison-Wesley Professional | Paper; 408 pages | Instock
    ISBN-10: 0321228359 | ISBN-13: 9780321228352
    Brief Description | Buy from myPearsonStore

  • 0321154894.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
    Abrams
    © 2004 | Addison-Wesley Professional | Cloth; 560 pages | Out of Stock
    ISBN-10: 0321154894 | ISBN-13: 9780321154897


  • 0321194454.NET Framework Standard Library Annotated Reference, Volume 2: Networking Library, Reflection Library, and XML Library
    Abrams & Abrams
    © 2006 | Addison-Wesley Professional | Cloth Bound w/CD-ROM; 512 pages | Instock
    ISBN-10: 0321194454 | ISBN-13: 9780321194459
    Buy from myPearsonStore

  • 0321341384.NET Internationalization: The Developer's Guide to Building Global Windows and Web Applications
    Smith-Ferrier
    © 2007 | Addison-Wesley Professional | Paper; 672 pages | Instock
    ISBN-10: 0321341384 | ISBN-13: 9780321341389
    Buy from myPearsonStore

  • 0321247124ADO.NET and System.Xml v. 2.0--The Beta Version, 2/E
    Homer, Sussman & Fussell
    © 2005 | Addison-Wesley Professional | Paper; 560 pages | Instock
    ISBN-10: 0321247124 | ISBN-13: 9780321247124
    Brief Description | Buy from myPearsonStore

  • 0321418344ASP.NET 2.0 Illustrated
    Homer & Sussman
    © 2006 | Addison-Wesley Professional | Paper; 800 pages | Instock
    ISBN-10: 0321418344 | ISBN-13: 9780321418340
    Brief Description | Buy from myPearsonStore

  • 0321334434The C# Programming Language, 2/E
    Hejlsberg, Wiltamuth & Golde
    © 2006 | Addison-Wesley Professional | Cloth; 720 pages | Instock
    ISBN-10: 0321334434 | ISBN-13: 9780321334435
    Buy from myPearsonStore

  • 0321154932The Common Language Infrastructure Annotated Standard
    Miller & Ragsdale
    © 2004 | Addison-Wesley Professional | Paper; 928 pages | Estimated Availability: 10/23/2003
    ISBN-10: 0321154932 | ISBN-13: 9780321154934
    Brief Description | Buy from myPearsonStore

  • 032143482XConcurrent Programming on Windows
    Duffy
    © 2009 | Addison-Wesley Professional | Paper; 1008 pages | Instock
    ISBN-10: 032143482X | ISBN-13: 9780321434821
    Buy from myPearsonStore

  • 032126892XData Binding with Windows Forms 2.0: Programming Smart Client Data Applications with .NET
    Noyes
    © 2006 | Addison-Wesley Professional | Paper; 736 pages | Instock
    ISBN-10: 032126892X | ISBN-13: 9780321268921
    Buy from myPearsonStore

  • 0321410599Designing Forms for Microsoft Office InfoPath and Forms Services 2007
    Roberts & Green
    © 2007 | Addison-Wesley Professional | Paper; 1296 pages | Instock
    ISBN-10: 0321410599 | ISBN-13: 9780321410597
    Buy from myPearsonStore

  • 0321382188Developer's Guide to SQL Server 2005, A
    Beauchemin & Sullivan
    © 2006 | Addison-Wesley Professional | Paper; 1088 pages | Instock
    ISBN-10: 0321382188 | ISBN-13: 9780321382184
    Buy from myPearsonStore

  • 0321398203Domain-Specific Development with Visual Studio DSL Tools
    Cook, Jones, Kent & Wills
    © 2007 | Addison-Wesley Professional | Paper; 576 pages | Instock
    ISBN-10: 0321398203 | ISBN-13: 9780321398208
    Buy from myPearsonStore

  • 032124673XEnterprise Services with the .NET Framework: Developing Distributed Business Solutions with .NET Enterprise Services
    Nagel
    © 2005 | Addison-Wesley Professional | Paper; 576 pages | Instock
    ISBN-10: 032124673X | ISBN-13: 9780321246738
    Brief Description | Buy from myPearsonStore

  • 0321237706Essential ASP.NET 2.0, 2/E
    Onion & Brown
    © 2007 | Addison-Wesley Professional | Paper; 384 pages | Instock
    ISBN-10: 0321237706 | ISBN-13: 9780321237705
    Brief Description | Buy from myPearsonStore

  • 0321150775Essential C# 2.0
    Michaelis
    © 2006 | Addison-Wesley Professional | Paper; 768 pages | Instock
    ISBN-10: 0321150775 | ISBN-13: 9780321150776
    Buy from myPearsonStore

  • 0321440064Essential Windows Communication Foundation (WCF): For .NET Framework 3.5
    Resnick, Crane & Bowen
    © 2008 | Addison-Wesley Professional | Paper; 608 pages | Instock
    ISBN-10: 0321440064 | ISBN-13: 9780321440068
    Buy from myPearsonStore

  • 0321374479Essential Windows Presentation Foundation (WPF)
    Anderson
    © 2007 | Addison-Wesley Professional | Paper; 512 pages | Instock
    ISBN-10: 0321374479 | ISBN-13: 9780321374479
    Buy from myPearsonStore

  • 0321399838Essential Windows Workflow Foundation
    Shukla & Schmidt
    © 2007 | Addison-Wesley Professional | Paper; 480 pages | Instock
    ISBN-10: 0321399838 | ISBN-13: 9780321399830
    Buy from myPearsonStore

  • 0321180593First Look at SQL Server 2005 for Developers, A
    Beauchemin, Berglund & Sullivan
    © 2004 | Addison-Wesley Professional | Paper; 736 pages | Out of Stock
    ISBN-10: 0321180593 | ISBN-13: 9780321180599
    Brief Description

  • 0321545613Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 2/E
    Cwalina & Abrams
    © 2009 | Addison-Wesley Professional | Hardcover with DVD; 480 pages | Instock
    ISBN-10: 0321545613 | ISBN-13: 9780321545619
    Buy from myPearsonStore

  • 0321246756Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries
    Cwalina & Abrams
    © 2006 | Addison-Wesley Professional | Hardcover with DVD; 384 pages | Estimated Availability: 08/31/2007
    ISBN-10: 0321246756 | ISBN-13: 9780321246752
    Brief Description

  • 0321578813Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, Safari
    Cwalina & Abrams
    © 2006 | Addison-Wesley Professional | On-line Supplement; 384 pages | Instock
    ISBN-10: 0321578813 | ISBN-13: 9780321578815
    URL: http://www.safari.informit.com


  • 0321160770Graphics Programming with GDI+
    Chand
    © 2004 | Addison-Wesley Professional | Paper; 784 pages | Instock
    ISBN-10: 0321160770 | ISBN-13: 9780321160775
    Brief Description | Buy from myPearsonStore

  • 0201770180Programming in the .NET Environment
    Watkins, Hammond & Abrams
    © 2003 | Addison-Wesley Professional | Paper; 560 pages | Estimated Availability: 11/06/2002
    ISBN-10: 0201770180 | ISBN-13: 9780201770186
    Brief Description | Buy from myPearsonStore

  • 0321278720Software Engineering with Microsoft Visual Studio Team System
    Guckenheimer & Perez
    © 2006 | Addison-Wesley Professional | Paper; 304 pages | Instock
    ISBN-10: 0321278720 | ISBN-13: 9780321278722
    Brief Description | Buy from myPearsonStore

  • 0321562992The C# Programming Language, 3/E
    Hejlsberg, Torgersen, Wiltamuth & Golde
    © 2009 | Addison-Wesley Professional | Paper; 784 pages | Instock
    ISBN-10: 0321562992 | ISBN-13: 9780321562999
    Buy from myPearsonStore

  • 0321592271The C# Programming Language, Safari, 3/E
    Hejlsberg, Torgersen, Wiltamuth & Golde
    © 2009 | Addison-Wesley Professional | On-line Supplement; 784 pages | Instock
    ISBN-10: 0321592271 | ISBN-13: 9780321592279
    URL: http://safari.informit.com


  • 0321169514The Visual Basic .NET Programming Language
    Vick
    © 2004 | Addison-Wesley Professional | Paper; 432 pages | Instock
    ISBN-10: 0321169514 | ISBN-13: 9780321169518
    Brief Description | Buy from myPearsonStore

  • 0321334884Visual Studio Tools for Office: Using C# with Excel, Word, Outlook, and InfoPath
    Carter & Lippert
    © 2006 | Addison-Wesley Professional | Paper; 1008 pages | Instock
    ISBN-10: 0321334884 | ISBN-13: 9780321334886
    Brief Description | Buy from myPearsonStore

  • 0321267966Windows Forms 2.0 Programming, 2/E
    Sells & Weinhardt
    © 2006 | Addison-Wesley Professional | Paper; 1296 pages | Instock
    ISBN-10: 0321267966 | ISBN-13: 9780321267962
    Buy from myPearsonStore

  • 0321116208Windows Forms Programming in C#
    Sells
    © 2004 | Addison-Wesley Professional | Paper; 736 pages | Instock
    ISBN-10: 0321116208 | ISBN-13: 9780321116208
    Brief Description | Buy from myPearsonStore

  • 0321125193Windows Forms Programming in Visual Basic .NET
    Sells & Ghetland
    © 2004 | Addison-Wesley Professional | Paper; 736 pages | Instock
    ISBN-10: 0321125193 | ISBN-13: 9780321125194
    Brief Description | Buy from myPearsonStore

  • 0321303636eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers
    Roodyn
    © 2005 | Addison-Wesley Professional | Paper; 336 pages | Instock
    ISBN-10: 0321303636 | ISBN-13: 9780321303639
    Brief Description | Buy from myPearsonStore

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.


Copyright ©2008 Pearson Education. All rights reserved. Legal Notice | Privacy Policy | Permissions