How This Book Is Organized

Here is a brief overview of each chapter. Part I: Introduction to VSTO

Chapter 1, Getting Started with VSTO, introduces you to VSTO. The chapter shows you how to create solutions using the Visual Studio integrated development environment (IDE). This chapter also introduces you to some of the VSTO features that you will learn in detail in other chapters.

Chapter 2, The Programming Environment, shows you how to use some of the features of the IDE, including how to build, run, and debug your solutions. This chapter also shows you how to use the integrated Help system to easily find information about programming with VSTO.

Chapter 3, Introduction to Managed Code, teaches you the fundamentals of the .NET Framework, including a discussion of object-oriented programming and new Visual Basic 2005 features. In this chapter you will also explore features of the common language runtime and the Office primary interop assemblies (PIAs).

Chapter 4, Moving from VBA to VSTO and Visual Basic 2005, discusses the reasons for moving to Visual Basic from VBA and shows you new and powerful Visual Basic features that are not available in VBA. You will also see how to migrate key language features from VBA to Visual Basic 2005, such as moving from UserForms to Windows Forms.

Part II: Word and Excel

Chapter 5, Customizing Word and Excel Task Panes, introduces you to the Document Actions task pane. You will learn how to manage and design the actions pane. You will also learn how to create powerful context-aware solutions using XML and the actions pane.

Chapter 6, Customizing Word with VSTO, shows you how to create Word projects and explains the structure behind a project. You will also learn how to work with Word controls on documents to bind data and handle events.

Chapter 7, Customizing Excel with VSTO, shows you how to create Excel projects and explains the structure behind a project. You will also learn how to work with Excel controls on worksheets to bind data and handle events.

Chapter 8, Controls in Word and Excel, shows you how to add controls to your solutions. You will learn how to add controls to toolbars and menus, how to use Windows Forms controls on your document or workbook, and how to create controls at run time.

Chapter 9, Smart Tags in Word and Excel, teaches you how to create document-level VSTO smart tags in Word and Excel. You will learn how to recognize terms and expressions and how to handle the actions of a smart tag.

Part III: Outlook and Beyond

Chapter 10, Creating Add-ins for Outlook with VSTO, explains how to create application-level customizations for Outlook. You will be introduced to the Outlook object model and will learn how to customize the menus and toolbars. You will also learn how to secure and debug an Outlook add-in.

Chapter 11, Security and Deployment, introduces you to the VSTO security model and shows you how to secure and deploy your Word, Excel, and Outlook projects. You will see how to deploy using the Publish Wizard and Visual Studio Setup projects.

Chapter 12, Migrating VBA Solutions to VSTO, describes reasons to migrate VBA solutions to VSTO. You will learn some conversion strategies and will walk through a sample conversion.

Chapter 13, Advanced Topics in VSTO, discusses how to add a VSTO customization to (and remove it from) a document. This chapter also shows you how to access the data cache in VSTO documents on the server.

Chapter 14, VSTO 2005 SE and the 2007 Microsoft Office System, contains examples of using VSTO with Office 2007. You will learn how to program new features of Office 2007, such as application-level custom task panes, Office ribbons, and Outlook form regions.

This page intentionally left blank

0 0

Post a comment