Udostępnij za pośrednictwem


Word Host Controls

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Document-level projects

  • Word 2003

  • Word 2007

Application-level projects

  • Word 2007

For more information, see Features Available by Application and Project Type.

Visual Studio Tools for Office provides controls, named host controls, that extend the functionality of some important objects in Microsoft Office Word so that they expose events and can be bound to data. In document-level projects, you can add any host control to your document at design time, or you can add content controls and bookmark controls at run time. Starting in Visual Studio 2008 Service Pack 1 (SP1), you can add content controls and bookmark controls to any open document at run time in application-level add-ins for Word 2007.

In This Section

Change History

Date

History

Reason

July 2008

Added information about using host controls in application-level add-ins.

SP1 feature change.