This section contains sample applications that demonstrate how to use Visual Studio Tools for Office to create document-level customizations that take advantage of features that are available in Microsoft Office. The code in each sample illustrates the syntax and structure of the underlying technology. Sample abstracts contain instructions for running each sample.
The sample code is intended for instructional purposes, and should not be used in deployed solutions without modifications. In particular, security must be taken into more consideration.
For information about how to secure applications, see the following help topics:
- Excel-Based Samples
Provides links to sample applications that show how you can take advantage of the data collection and analysis capabilities available in Excel and create business solutions using managed code extensions.
- Word-Based Samples
Provides links to sample applications that take advantage of the document creation capabilities available in document-level customizations for Word.
- Samples That Use Excel and Word
Provides links to sample applications that show how to use features that can be implemented in both Excel and Word, such as the actions pane and data access.
- Application-Level Samples
Provides links to sample applications that show how to add functionality to Microsoft Office applications by using application-level add-ins.
- Common Tasks in Office Programming
Lists frequently asked questions about how to program with Visual Studio Tools for Office and provides links to topics that can help solve common problems.