Introducing the Microsoft Visio 2002 SDK

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

 

Microsoft Corporation

March 2002

Applies to:
   Microsoft Visio Standard 2002
   Microsoft Visio Professional 2002

Summary: This SDK contains the latest documentation, samples, header files, libraries, and tools you need to develop custom solutions for Microsoft Visio 2002. (6 printed pages)

Download Sdk.exe.

Contents

Introduction
Visio SDK Contents
Minimum System Requirements
Software Requirements for Visio 2002 SDK Tools and Samples
Known Issues

Introduction

The Microsoft® Visio® 2002 Software Development Kit (SDK) contains the latest documentation, samples, header files, libraries, and tools you need to develop custom solutions for Visio 2002. The SDK is meant for the beginning or intermediate Visio programmer and the Office developer with Microsoft Visual Basic® 6.0 skills. It also includes a limited set of tools targeted at C++ developers (C++ libraries and simple samples, Microsoft Visual C++® 6.0 wizard).

You do not need to have the Microsoft Visio 2002 application installed on your computer to be able to install the Visio 2002 SDK; however, for selected code samples and tools to run properly, Visio 2002 is required. To order a trial version of Visio, use the following link: http://www.microsoft.com/office/visio/prodinfo/trial.mspx.

Visio SDK Contents

The Visio 2002 SDK includes:

  • Microsoft Visio Code Librarian Samples  A newly created database of Visio code samples that ships with the same Microsoft Code Librarian Viewer that is provided with Microsoft Office XP Developer.

    In Code Librarian Viewer, you can select a code item from the tree view Explorer window, or conduct a 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 Visio 2002 SDK, and then click Microsoft Visio Code Librarian Samples.

  • Sample applications Sample applications that you can use to experiment and become acquainted with features. These sample applications are written both to demonstrate aspects of developing with Visio and to use as a starting point in your custom applications.

  • Tools Customization and extensibility tools that can increase your productivity and reduce development time, including the Persistent Events and Event Monitor tools, and wizards to set up new Visio add-ons and Component Object Model (COM) add-ins in Microsoft Visual C++ 6.0 and Microsoft Visual Basic 6.0.

  • Documentation Visio references, articles, and Developing Microsoft Visio Solutions, a complete guide to creating solutions with Microsoft Visio.

Location of SDK Files

The Microsoft Visio 2002 SDK is installed as follows:

  • If you have Microsoft Visio 2002 installed, the SDK is installed in the Visio10 folder in your Microsoft Visio 2002 installation path.

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

    \Program Files\Microsoft Office\Visio10\SDK

To uninstall the SDK at any time

  • In Control Panel, click Add or Remove Programs, choose Microsoft Visio 2002 Software Development Kit (SDK), and then click Remove.

The following table describes the folders that are installed with the Microsoft Visio 2002 SDK and their contents.

Table 1. Microsoft Visio 2002 SDK folders

Folder name Description
\Docs\ References, articles, and Developing Microsoft Visio Solutions guide
\Libraries\ Support files
\Samples\ Sample applications that demonstrate how to use the Visio programming model
\Tools\ Development, customization, and extensibility tools
\Wizards\ Wizards to simplify getting started developing Visio applications in C++ and Visual Basic using Microsoft® Visual Studio® 6.0 (Service Pack 3 or later)

Minimum System Requirements

The Microsoft Visio 2002 SDK has a set of minimum system requirements to install and run properly on your computer, as described in the following table.

Table 2. Visio 2002 SDK system requirements

System item Requirement
Computer/Processor Computer with a Pentium processor, 200 MHz or higher
Memory RAM requirements depend on the operating system used.

For Microsoft® Windows® 98, or Windows 98 Second Edition: 24 MB of RAM plus an additional 16 MB of RAM for Microsoft Visio Standard 2002 and an additional 48 MB for Visio 2002 Professional

For MicrosoftWindows Millennium Edition (Me), or MicrosoftWindows NT®: 32 MB of RAM plus an additional 16 MB of RAM for Visio Standard 2002 and an additional 48 MB for Visio Professional 2002

For MicrosoftWindows2000 Professional: 64 MB of RAM plus an additional 16 MB of RAM for Visio Standard 2002 and an additional 48 MB for Visio Professional 2002

For MicrosoftWindows XP Professional, or Microsoft Windows XP Home Edition: 128 MB of RAM plus an additional 16 MB of RAM for Visio Standard 2002 and an additional 48 MB for Visio Professional 2002

Hard disk 10 MB of available hard disk space
Operating system Windows 98, Windows 98 Second Edition, Windows Me, Windows NT 4.0 with Service Pack 6 (SP6) or later, Windows 2000, or Windows XP or later
Note   Windows 98, Windows 98 Second Edition, or Windows NT 4.0 with SP6 or later must have Windows Installer version 1.1 or greater installed.
Drive CD-ROM drive
Display VGA (640 × 480) or higher-resolution monitor with 256 colors; Super VGA (800 × 600) recommended
Peripherals Microsoft® Mouse, Microsoft IntelliMouse®, or compatible pointing device
Software Full use of tools, wizards, and samples in the Microsoft Visio 2002 SDK requires Microsoft Visual Studio 6.0 (Service Pack 3 or later); Microsoft Visio Professional 2002 or Microsoft Visio Standard 2002; Microsoft® MSXML 3.0 or later; Microsoft® Internet Explorer 5.5 or later; and Microsoft Office 2000 or later.

Limited use of the SDK (reviewing sample code in a text editor and browsing documentation) requires Internet Explorer 5.0 or later.

Software Requirements for Visio 2002 SDK Tools and Samples

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

Table 3. Visio 2002 SDK software requirements for tools and samples

Tool or sample Software requirements
Persistent Events tool Microsoft Visio 2002
Event Monitor tool Microsoft Visio 2002
Visio Add-on or Add-in wizard Microsoft Visual C++ 6.0 (Service Pack 3 or later)
Visio EXE Add-on project Microsoft Visual Basic 6.0 (Service Pack 3 or later)
Visio Add-in project Microsoft Visual Basic 6.0 (Service Pack 3 or later)
Generic sample Microsoft Visio 2000 or later (to run the sample)

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

GenericMFC sample Microsoft Visio 2000 or later (to run the sample)

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

MyAddon sample Microsoft Visio 2000 or later (to run the sample)

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

Flowchart sample Microsoft Visio 2002

Microsoft Excel 2000 or later

Microsoft Word 2000 or later

XSLT sample Microsoft MSXML 3.0 or later (See the XSLT sample readme for using versions of MSXML later than 3.0)

Microsoft Internet Explorer 5.5 or later

To install MSXML 3.0, go to the MSXML Parser 3.0 Service Pack 5 Release and follow the subsequent directions.

Code Librarian Viewer and Visio 2002 Samples Microsoft Visio 2002

Or

Microsoft Office 2000 (Service Release 1 or later)

Or

Microsoft Office XP (or later)

Known Issues

  1. Microsoft® Visual Studio® .NET is not supported. The samples and tools in the Visio 2002 SDK support Visual Studio 6.0 (Service Pack 3 or later).

  2. If you install the Visio 2002 SDK first and then install the Visio 2002 application at a later time, you need to append the SDK folder path to the Help and Add-ons file paths in the application, or uninstall and reinstall the SDK.

    Note   To indicate more than one folder in the path, separate individual items in the path string with semicolons and no spaces in between paths.

  3. If Visio is installed before the SDK is installed, the Visio application must be run at least once before installing the SDK so that file paths are properly registered. If the application has not run at least once you must append the SDK folder path to the Help and Add-ons file paths in the application, or uninstall and reinstall the SDK.

    Note   To indicate more than one folder in the path, separate individual items in the path string with semicolons and no spaces in between paths.

  4. If you are running Microsoft Windows NT 4.0 or Windows 98, you must first update Microsoft Windows Installer to version 1.1 or later. After installing the Windows Installer on computers running Windows 98 or Windows NT 4.0, you must restart your computer before installing the Visio 2002 SDK. If you are running Windows 2000 or later or Windows Me, you already have the correct version.

    To upgrade Windows Installer for Windows 98:
    Windows Installer 2.0 Redistributable for Windows 95, 98, and ME

    To upgrade Windows Installer for Windows NT:
    Windows Installer 2.0 Redistributable for Windows NT 4.0 and 2000

  5. The Visio 2002 SDK documentation requires Internet Explorer 5.0 or later. If the documentation HTML Help files does not run on your computer, install the latest version of Microsoft Internet Explorer.

  6. For Microsoft Code Librarian Viewer to work on a computer with the Windows 98 or Windows NT operating system, Office 2000 (Service Release 1 or later), or Office XP, or Visio 2002 must first be installed. Alternatively, you can also order the trial version of Visio.

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

  8. If you uninstall Microsoft Office Developer or Office XP Developer after installing the SDK, you must uninstall and reinstall the SDK to use the Code Librarian Viewer.

  9. For the Event Monitor tool to work, you must run it at least once as a power user. For information on user types, see the documentation included with your operating system.