Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Word Host Controls

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

Microsoft Visual Studio 2005 Tools for the Microsoft Office System extends the functionality of some important objects in Microsoft Office Word 2003 so that they expose events and can be bound to data. This section describes the host controls available for Word documents.

In This Section

Bookmark Control

Describes the extended functionality of bookmark controls, including the addition of events and data binding. Also describes the behavior of overlapping controls and text assignment.

XMLNode Control

Describes the extended functionality of XMLNode controls, including the addition of events and data binding.

XMLNodes Control

Provides information about the XMLNodes controls collection; Discusses why data binding is not supported by this control.

How to: Add Bookmark Controls to Word Documents

Demonstrates how to add bookmark controls from the toolbox, from the Insert menu in Word at design time, and programmatically at run time.

How to: Add XMLNode Controls to Word Documents

Describes how to map non-repeating XML elements to a document in order to create an XMLNode control on the document.

How to: Add XMLNodes Controls to Word Documents

Describes how to map repeating XML elements to a document in order to create an XMLNodes control on the document.

How to: Resize Bookmark Controls

Demonstrates the various ways to resize bookmark controls, including adding text to the bookmark, recreating the bookmark, and setting the start and end properties in the Properties window.

Walkthrough: Creating Shortcut Menus for Bookmarks

Demonstrates how to write code in the BeforeRightClick event handler of a Bookmark control to display a shortcut menu when the user right-clicks text within a bookmark.

Related Sections

Host Items and Host Controls Overview

Describes the relationship between host items and host controls, as well as the additional functionality that has been added to the native objects upon which they are based.

Excel Host Controls

Provides links to information on the new controls available to Microsoft Office Excel 2003 workbooks known as host controls and how to add them to a worksheet.

Binding Data to Controls Overview

Lists topics that show how to bind controls, including host controls, to data.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft