Common Tasks in Office Programming
This topic is designed to help you find the answers to the following categories of common questions about programming with Visual Studio Tools for Office:
Setup and general tasks.
User interface customization tasks.
Excel automation tasks.
Word automation tasks.
Data tasks.
Server-side document management tasks.
Security tasks.
Deployment tasks.
For a more comprehensive list of topics about tasks in Visual Studio Tools for Office projects, see How Do I in Visual Studio Tools for Office.
Setup and General Tasks
How to: Upgrade Solutions from Visual Studio Tools for Office.
How to: Target Office Applications Through Primary Interop Assemblies.
How to: Create Event Handlers in Visual Studio Tools for Office.
How to: Set Up Configuration Information for an Office Solution.
User Interface Customization Tasks
Controls on Documents and Worksheets
Note
To add controls to documents and worksheets by using an application-level add-in, you must have Visual Studio 2008 Service Pack 1 (SP1). For more information, see Adding Controls to Office Documents at Run Time.
Task Panes in Document-Level Customizations
Task Panes in Application-Level Add-Ins
Ribbon Customizations
Outlook Form Regions
Smart Tags
Note
To create smart tags by using an application-level add-in, you must have Visual Studio 2008 SP1. For more information, see Smart Tags Overview.
Custom Menus and Toolbars
Excel Automation Tasks
Word Automation Tasks
Data Tasks
Data-bound Controls
Cached Data in Document-Level Solutions
Custom XML Data
How to: Add Custom XML Parts to Document-Level Customizations.
How to: Add Custom XML Parts to Documents by Using Application-Level Add-Ins.
How to: Add Custom XML Parts to Documents Without Starting Microsoft Office.
Server-side Document Management Tasks
How to: Remove Managed Code Extensions from Documents (2007 System).
How to: Remove Managed Code Extensions from Documents (2003 System).
How to: Attach Managed Code Extensions to Documents (2007 System).
How to: Attach Managed Code Extensions to Documents (2003 System).
Security Tasks
2007 Version
2003 Version
How to: Grant Permissions to Folders and Assemblies (2003 System).
How to: Remove Permissions from Folders and Assemblies (2003 System).
How to: Grant Permissions to Documents and Workbooks in Shared Locations (2003 System).
Deployment Tasks
2007 Version
How to: Deploy an Office Solution by Using ClickOnce (2007 System).
How to: Deploy Template Solutions That Run Code on a Network (2007 System).
How to: Deploy a Document-Level Office Solution to a SharePoint Server (2007 System).
How to: Uninstall a ClickOnce Office Solution (2007 System).
How to: Install Prerequisites on End User Computers to Run Office Solutions (2007 System).
How to: Prepare IIS for Deployment of Office Solutions (2007 System).
How to: Change the Installation Path of an Office Solution (2007 System).
2003 Version
See Also
Concepts
Features Available by Application and Project Type
Other Resources
Getting Started (Visual Studio Tools for Office)
Samples and Walkthroughs (Office Development)
Change History
Date |
History |
Reason |
---|---|---|
August 2008 |
Added links to recently added topics. |
Information enhancement. |