Microsoft Office Visio 2007 SDK Release Notes

The Microsoft® Office Visio® 2007 Software Development Kit (SDK) contains the latest documentation, samples, header files, libraries, and tools that you need to develop custom solutions for Microsoft Office Visio 2007.

Visio SDK 2007 Contents

To open the Visio 2007 SDK, click Start, click All Programs, click 2007 Microsoft Office Developer Resources, and then click Microsoft Office Visio 2007 SDK.

The Visio 2007 SDK includes:

  • Microsoft Office Visio Code Samples Library   A database of Visio code samples.

    In the Code Samples Library, you can select a code item from the tree-view Explorer window, or you can search and select the desired code item from the Search Results tab. You can use the Code Samples Library to view and copy many reusable classes, functions, and procedures.

    To open the Code Samples Library, click the Start button, point to 2007 Microsoft Office Developer Resources, point to Microsoft Office Visio 2007 SDK, and then click Microsoft Office Visio Code Samples Library.

  • Sample applications   The provided sample applications can be used to experiment and to become acquainted with features. These sample applications are written both to demonstrate aspects of developing on the Visio platform and to be used as a starting point for your custom applications.

  • Tools   Customization and extensibility tools are provided to increase your productivity and reduce development time. These tools include the Persistent Events, Print ShapeSheet, Solution Publishing, and Event Monitor tools. ShapeStudio is a complete user interface for developing Visio shapes.

    The SDK also includes wizards to set up new Visio add-ons and Component Object Model (COM) add-ins in Microsoft Visual C#©, Microsoft Visual Basic® .NET, Microsoft Visual C++® and Microsoft Visual Basic®.

  • Documentation   The documentation includes the full set of Visio references and articles.

You do not need to have the Microsoft Office Visio 2007 application installed on your computer to be able to install the Visio 2007 SDK; however, for selected code samples or tools to run properly, Visio is required.

Locating the SDK Files

By default, the Visio 2007 SDK is installed in the following folder:

C:\Program Files\Microsoft Office\Office12\visSDK\

To uninstall the SDK at any time

  • In Control Panel, click Add or Remove Programs, click Microsoft Office Visio 2007 SDK, and then click Remove.

Folders Installed with the Visio 2007 SDK

The following table describes the folders that are installed with the Visio 2007 SDK.

Table 1. Visio 2007 SDK folders

Folder name

Description

\Docs \

References and articles

\Libraries\

Support files

\Samples \

Sample applications that demonstrate how to use the Visio programming model

\ShapeStudio\

A user interface for specifying, creating, building, testing, and maintaining solutions based on Visio SmartShapes

\Tools \

Development, customization, solution-publishing, and extensibility tools

\Wizards\

Wizards to simplify developing Visio applications

Software Requirements for Visio 2007 SDK Tools and Samples

Although you do not need to have Visio 2007 installed on your computer to be able to install the Visio 2007 SDK, the following tools and samples will not run correctly unless the following software dependencies are met.

Table 2. Visio 2007 SDK software requirements for tools and samples

Tool or sample

Software requirements

Persistent Events tool

Visio 2007

Event Monitor tool

Visio 2007

Print ShapeSheet tool

Visio 2007

Visio Solution Publishing tool

Visio 2007

ShapeStudio

Visio 2007

One of the following applications:

Microsoft Development Environment (MSDE)

Microsoft SQL Server 2000

Microsoft SQL Server 2005

Microsoft SQL Express 2005

Microsoft Visual Studio® .NET 2003 Visio Add-in wizard

Microsoft Visual Studio .NET 2003

Microsoft Visual Studio 2005 Visio Add-in wizard

Microsoft Visual Studio 2005

Microsoft Visual Basic 6.0 Flowchart sample application

Visio 2007

Microsoft Office Excel 2007

Microsoft Office Word 2007 (to embed the drawing into a Word document)

Microsoft Visual Basic .NET Flowchart sample application

Visio 2007

Excel 2007

Word 2007 (to embed the drawing into a Word document)

Microsoft .NET Framework 1.1 or Microsoft .NET Framework 2.0

Visual Studio .NET 2003 or Visual Studio 2005

C# Flowchart sample application

Visio 2007

Excel 2007

Word 2007 (to embed the drawing into a Word document)

Microsoft .NET Framework 1.1 or Microsoft .NET Framework 2.0

Visual Studio .NET 2003 or Visual Studio 2005

C++ Flowchart sample application

Visio 2007

Excel 2007

Word 2007 (to embed the drawing into a Word document)

Visual Studio .NET 2003, Visual Studio 2005, or Visual C++ 6.0 (Service Pack 3 or later)

TreeView sample application

Visio 2007

Microsoft .NET Framework 1.1 or Microsoft .NET Framework 2.0

Visual Studio .NET 2003 or Visual Studio 2005 (to build the sample code)

Office Plan sample application

Visio 2007

Microsoft .NET Framework 1.1 or Microsoft .NET Framework 2.0

Visual Studio .NET 2003 or Visual Studio 2005

Visio 2007 Code Samples Library

Visio 2007

2007 Microsoft Office System

Known Issues and Notes

  • Some sample applications and code samples in the Visio 2007 Code Samples Library require the installation of Microsoft Office applications or Visio 2007 solutions and wizards. See Visio 2007 SDK Samples located in the Samples folder in this SDK for more information about specific requirements.

  • In versions of Visio previous to Visio 2007, Shape Data were called Custom Properties. In the Visio 2007 SDK, these terms are used interchangeably; they both refer to the concept of attaching user data to Visio shapes.

  • In order to compile SDK samples in Visual Studio running on the Microsoft Windows Vista operating system, you must have administrative rights in Visual Studio.

  • For Microsoft Windows 2000 operating systems only, ShapeStudio requires Microsoft Data Access Components (MDAC) 2.6. You can download version 2.6 from http://www.microsoft.com/downloads/details.aspx?FamilyID=6a7d785f-c2e0-471d-a33b-82ad1d514737&DisplayLang=en.

  • Microsoft SQL Express 2005 is available as a free download at the following URL:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=220549b5-0b07-4448-8848-dcc397514b41&DisplayLang=en.