Aracılığıyla paylaş


Controls on Office Documents

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

  • Excel 2003

  • Excel 2007

  • Word 2003

  • Word 2007

Application-level projects

  • Excel 2007

  • Word 2007

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

Visual Studio Tools for Office supports Windows Forms controls and host controls. Host controls are objects in the Microsoft Office application to which Visual Studio Tools for Office adds additional programming features.

When you develop document-level projects for Excel or Word, you can use the Visual Studio designer to add these controls to the document or workbook in your project at design time, or you can programmatically add these controls at run time.

Starting in Visual Studio 2008 Service Pack 1 (SP1), when you develop application-level projects for Excel or Word, you can programmatically add these controls to any open document or workbook at run time.

In This Section

Change History

Date

History

Reason

July 2008

Added information about adding controls to documents by using application-level add-ins.

SP1 feature change.