Word-Based Samples
The document is archived and information here might be outdated

Word-Based Samples

Note Required applications

The features in this topic are available only if you have the required applications installed.

For more information, see Features Available by Product Combination.

  • One of these development environments:

    VSTO 2005

    -or-

    Visual Studio Team System

  • Microsoft Office 2003

This section contains sample applications that use managed code extensions and take advantage of the document creation capabilities available in Microsoft Office Word 2003.

In This Section

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 2003 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 using managed code extensions.

Word Dynamic Controls Sample

Demonstrates how to add and remove Windows Forms controls and host controls programmatically.

Data Caching Sample

Demonstrates how to retrieve data from an XML file, store the data in a Microsoft Office Word document’s data cache, and then work with that data from within the document itself or from a Windows Forms application.

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 Smart Tags Sample

Demonstrates how you can incorporate smart tags into your Word solution.

Related Sections

Office Development Samples

Provides links to sample applications that illustrate the use of managed code extensions with Word and Microsoft Office Excel 2003 and describe the design decisions behind the code.

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.

Office Development Walkthroughs

Lists step-by-step guides that provide an introduction to Microsoft Visual Studio 2005 Tools for the Microsoft Office System and help to illustrate how you can create applications that take advantage of Word and Excel.

Show:
© 2016 Microsoft