The first two chapters of this book introduced Office object models and the Office PIAs. You have also seen how to use Visual Studio to build console applications, add-ins, and code behind the document using features of VSTO. The second part of this book covers the Office object models in more depth. If you are only interested in Excel development, read Chapters 3 through 5. If you are only interested in Word development, read Chapters 6 through 9. If you are only interested in Outlook development, read Chapters 7 through 11. If you are only interested in InfoPath development, read Chapter 12.
- Chapter 3, "Programming Excel," shows how you can customize Excel and in particular how you can create custom formulas for Excel.
- Chapter 4, "Working with Excel Events," covers the events that Excel raises that your code can handle.
- Chapter 5, "Working with Excel Objects," covers the object model of Excel in some detail, focusing on the most commonly used objects, properties, and methods.
- Chapter 6, "Programming Word," shows how you can customize Word and in particular how you can create research services for Word and other Office applications.
- Chapter 7, "Working with Word Events," covers the events that Word raises that your code can handle.
- Chapter 8, "Working with Word Objects," covers the object model of Word in some detail, focusing on the most commonly used objects, properties, and methods.
- Chapter 9, "Programming Outlook," shows how you can customize Outlook and in particular how you can create custom property pages for Outlook.
- Chapter 10, "Working with Outlook Events," covers the events that Outlook raises that your code can handle.
- Chapter 11, "Working with Outlook Objects," covers the object model of Outlook in some detail, focusing on the most commonly used objects, properties, and methods.
- Chapter 12, "Introduction to InfoPath," explores how to build InfoPath forms that use C# code.
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
Deployment
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