This documentation is archived and is not being maintained.

Automating Visio Applications (How Do I in Visual Studio Tools for Office)

Visual Studio 2008

Applies to

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

Project type

  • Application-level projects

Microsoft Office version

  • Visio 2003

  • Visio 2007

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

This page provides links to Help for commonly performed tasks that make use of the Microsoft Office Visio object model in Visual Studio Tools for Office. To see other categories of key tasks covered by Visual Studio Tools for Office Help, see How Do I in Visual Studio Tools for Office.

Visio Solutions

Provides an introduction to how to use Visual Studio Tools for Office to customize Visio.

Getting Started Programming Application-Level Add-Ins

Describes what you need to know to get started creating application-level add-ins for Visio.

Programming Application-Level Add-Ins

Describes the main programming tasks for creating application-level add-ins for Visio.

How to: Create Event Handlers in Visual Studio Tools for Office

Describes various ways to create event handlers in Visual Basic and C#, whether you are in Design view or Code view.

How to: Create New Visio Documents

Create a blank Visio document or new document based on an existing Visio template, stencil, or document.

How to: Open Visio Documents

Open a specified Visio document as read/write, or read-only and docked.

How to: Close Visio Documents

Close the active Visio document.

How to: Save Visio Documents

Save a document with the same name or a new name.

How to: Print Visio Documents

Print an entire document or a specified page.

How to: Add Shapes to a Visio Document

Add shapes from a stencil to a Visio document.

How to: Copy and Paste Shapes in a Visio Document

Copy shapes from one Visio page and paste them into another page.

Show: