Word-Based Samples
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 available in Microsoft Office Word.
In This Section
Actions Pane Subpane Control Sample
Demonstrates custom user controls on an actions pane, and includes a collapsible container control (the subpane control) that helps you organize controls on an actions pane.Content Controls Sample
Demonstrates how to use content controls to structure the content of a Word document.Data-Bound Content Controls Sample
Demonstrates how to bind content controls on a Word document to data in a database.Data Caching Sample
Demonstrates how to retrieve data from an XML file, store the data in a Word document’s data cache, and then work with that data from within the document itself or from a Windows Forms application.Document Protector Sample
Demonstrates how to create and use a sample tool that protects an entire document and then enables you to unprotect any or all bookmarks, form fields, and XML nodes that are in the document.PowerPoint Deck Generator Sample
Demonstrates how to create and use a template that generates a first draft of a Microsoft Office PowerPoint presentation from a Word document, without having to copy and paste information from your Word outline into PowerPoint.PowerPoint Script Generator Sample
Demonstrates how to create and use a template that generates a first draft of a Word document from a PowerPoint presentation, without having to copy and paste information from PowerPoint into Word.Word Controls Sample
Demonstrates how to access controls that are hosted on a Word document.Word Document Protection Techniques Sample
Demonstrates various techniques you can use to protect structural components of a document to help to prevent users from accidentally deleting controls or otherwise changing important parts of your solution document.Word Dynamic Controls Sample
Demonstrates how to add and remove Windows Forms controls and host controls programmatically.Word Smart Tags Sample
Demonstrates how you can incorporate smart tags into your Word solution.
Related Sections
Document-Level Samples
Provides links to sample applications that illustrate the use of document-level customizations that are created by using Visual Studio Tools for Office.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.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.