Microsoft Office Visio 2003 SDK Overview [Visio 2003 SDK Documentation]

The Microsoft® Office Visio® 2003 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 2003.

Visio SDK 2003 Contents

To open the Microsoft Office Visio 2003 SDK, click Start, click All Programs, and then click Microsoft Office Visio 2003 SDK.

The Microsoft Office Visio 2003 SDK includes:

  • Microsoft Office Visio Code Librarian Samples   A database of Visio code samples that ships with the Microsoft Code Librarian Viewer.

    In Code Librarian Viewer, 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 window. You can use the Code Librarian Viewer to view and copy many reusable classes, functions, and procedures.

    To open the Code Librarian Viewer, click the Start button, browse to Microsoft Office Visio 2003 SDK, and then click Microsoft Office Visio Code Librarian Viewer.

  • 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 2003 application installed on your computer to be able to install the Visio 2003 SDK; however, for selected code samples or tools to run properly, Visio is required.

Locating the SDK Files

During setup, you can choose where to install the Microsoft Office Visio 2003 SDK. If you accept the default path, the SDK is installed in the following locations:

  • If you have Microsoft Office Visio 2003 installed, the SDK is installed in the Visio11 folder in your Microsoft Office Visio 2003 installation path.

  • If you have a version of Microsoft Visio other than Visio 2003 installed, or if you do not have Visio installed, the SDK is installed in the following path:

    \Program Files\Microsoft Office\Visio11\SDK

To uninstall the SDK at any time

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

The following table describes the folders that are installed with the Microsoft Office Visio 2003 SDK.

Table 1. Microsoft Office Visio 2003 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 Microsoft Office Visio SmartShapes

\Tools \

Development, customization, solution-publishing, and extensibility tools

\Wizards\

Wizards to simplify developing Visio applications

Software Requirements for Visio 2003 SDK Tools and Samples

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

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

Tool or sample Software requirements

Persistent Events tool

Microsoft Office Visio 2003

Event Monitor tool

Microsoft Office Visio 2003

Print ShapeSheet tool

Microsoft Office Visio 2003

Visio Solution Publishing tool

Microsoft Office Visio 2003

ShapeStudio

Microsoft Office Visio 2003

Microsoft Development Environment (MSDE) or SQL Server

Microsoft Visual Studio .NET 2003 Visio Add-in wizard

Microsoft Visual Studio .NET 2003

Visual Studio 6.0 C++ Visio Add-on or Add-in Wizard

Microsoft Visual C++ 6.0 (Service Pack 3 or later)

Visual Studio 6.0 Visual Basic Visio project templates

Microsoft Visual Basic 6.0 (Service Pack 3 or later)

Microsoft Visual Basic 6.0 Flowchart sample application

Microsoft Office Visio 2003

Microsoft Office Excel 2003

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

Microsoft Visual Basic .NET Flowchart sample application

Microsoft Office Visio 2003

Microsoft Office Excel 2003

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

Microsoft .NET Framework 1.1

Microsoft Visual Studio .NET 2003

C# Flowchart sample application

Microsoft Office Visio 2003

Microsoft Office Excel 2003

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

Microsoft .NET Framework 1.1

Microsoft Visual Studio .NET 2003

C++ Flowchart sample application

Microsoft Office Visio 2003

Microsoft Office Excel 2003

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

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

TreeView sample application

Microsoft Office Visio 2003

Microsoft .NET Framework 1.1

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

Office Plan sample application

Microsoft Office Visio 2003

Microsoft .NET Framework 1.1

Microsoft Visual Studio .NET 2003

Managed Code Interop tutorial

Microsoft Office Visio 2003

Microsoft .NET Framework 1.1

Microsoft Visual Studio .NET 2003

Code Librarian Viewer and Visio 2003 samples

Microsoft Office Visio 2003

Microsoft Office 2003

Known Issues

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

  • IA 64 Test verification has not been performed to ensure that the Visio 2003 SDK will run.

  • 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.

  • If you use the Microsoft Visual Studio 6.0 C++ Visio Add-on or Add-in Wizard to create an MFC-based add-in project, in order to be able to compile the project, you must have installed the MFC Unicode libraries. To install these libraries, run the Visual Studio 6.0 C++ setup program and install the following MS Foundation Class Libraries: Static Libraries for Unicode and Shared Libraries for Unicode.