Part One. An Introduction to VSTO

One An Introduction to VSTO

The first part of this book introduces the Office object models and the Office primary interop assemblies (PIAs). You also learn how to use Visual Studio to build automation executables, add-ins, and code behind the document using features of Visual Studio 2005 Tools for Office (VSTO).

  • Chapter 1, "An Introduction to Office Programming," introduces the Office object models and examines their basic structure. The chapter describes how to work with objects, collections, and enumerationsthe basic types found in all Office object models. You also learn how to use properties, methods, and events exposed by objects and collections in the Office object models. Chapter 1 also introduces the PIAs, which expose the Office object models to .NET code, and describes how to use and reference Office PIAs in a VSTO project.
  • Chapter 2, "Introduction to Office Solutions," covers the main ways Office applications are customized and extended. The chapter describes the various kinds of Office solutions you can create using VSTO.

The Other Parts of This Book

Part Two Office Programming in .NET

Part Two of this book covers the Office object models in more depth. Chapters 3 through 5 cover Excel, Chapters 6 through 8 cover Word, Chapters 9 through 11 cover Outlook, and Chapter 12 covers InfoPath. There is also some discussion in these chapters about application-specific features and issues. For example, Chapter 3 talks about how to build custom formulas in .NET for Excel. Chapter 5 discusses the Excel-specific "locale" issue in some detail. You can select which chapters of Part Two to readif you are only interested in Excel development, you can read Chapters 3 through 5 and then skip to Part Three of this book.

Part Three Office Programming in VSTO

Part Three of this book, comprised of Chapters 13 through 20, describes the features that Visual Studio 2005 Tools for Office brings to Office development. Part Three describes all the features of VSTO, including using Windows Forms controls in Excel and Word documents, using data binding against Office objects, building Smart Tags, and adding Windows Forms controls to Office's task pane.

Part Four Advanced Office Programming

Finally, Part Four of this book covers advanced programming topics. Chapters 21 and 22 talk about working with XML in Word and Excel with VSTO. Chapter 23 covers how to build managed COM add-ins for Word and Excel. Chapter 24 describes how to develop Outlook add-ins in VSTO.

Part One. An Introduction to VSTO

An Introduction to Office Programming

Introduction to Office Solutions

Part Two. Office Programming in .NET

Programming Excel

Working with Excel Events

Working with Excel Objects

Programming Word

Working with Word Events

Working with Word Objects

Programming Outlook

Working with Outlook Events

Working with Outlook Objects

Introduction to InfoPath

Part Three. Office Programming in VSTO

The VSTO Programming Model

Using Windows Forms in VSTO

Working with Actions Pane

Working with Smart Tags in VSTO

VSTO Data Programming

Server Data Scenarios

.NET Code Security


Part Four. Advanced Office Programming

Working with XML in Excel

Working with XML in Word

Developing COM Add-Ins for Word and Excel

Creating Outlook Add-Ins with VSTO

Visual Studio Tools for Office(c) Using C# with Excel, Word, Outlook, and InfoPath
Visual Studio Tools for Office(c) Using C# with Excel, Word, Outlook, and InfoPath
ISBN: 321334884
Year: N/A
Pages: 214 © 2008-2020.
If you may any questions please contact us: