Click to return to the Microsoft Agent home page    
Web Workshop  |  Streaming & Interactive Media  |  Microsoft Agent

Microsoft Agent Visual Basic, Visual C++, and Java Samples


Microsoft Corporation

October 1998

The samples below are zipped, downloadable files. Each sample includes a Readme.txt file with further instructions for building and running the sample. The instructions assume that you are using Microsoft® Visual Basic® (version 5.0 or higher), Microsoft Visual C++® (version 5.0 or higher), or Microsoft Visual J++, as appropriate. For samples you can view online, see HTML Samples.

Visual Basic Samples

Instructions for installing and running the sample are included in the download. These instructions assume that you are using Microsoft Visual Basic (version 5.0 or higher). You will be instructed to download and install Microsoft Agent and the character data files to build and run the sample.

DownloadDownload the Character Animation Preview Tool (CAP) (zipped, 8K).
Illustrates how to perform several operations with a character and provides a handy tool for previewing a character's animation.
Requires: Agent Core Components, Characters(.ACS format) Text-To-Speech Engine, Level: Intermediate.

DownloadDownload the Hello World Visual Basic Sample (zipped, 2K).
Illustrates using Microsoft Agent with Visual Basic.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Basic.

Visual C++ Samples

Instructions for installing and running the sample are included in each download. These instructions assume that you are using Microsoft Visual C++ (version 5.0 or higher). You will be instructed to download and install Microsoft Agent and the character data files to build and run the samples.

DownloadDownload the Character Animation Preview Tool sample (zipped, 28K).
Illustrates how to perform several operations with a character and provides a handy tool for previewing a character's animation.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Advanced.

DownloadDownload Microsoft Agent Include files (zipped, 70K).
These header files define the COM (Component Object Model) interfaces to the Agent Server. You'll need these if you plan to call the Agent Server COM interfaces from a C++ program.

DownloadDownload the Hello World C++ Sample (zipped, 4K).
Illustrates using Microsoft Agent with C++.
Requires: Agent Core Components, Characters. Level: Intermediate.

DownloadDownload the Hello World 2 C++ Sample (zipped, 7K).
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in C++.
Requires: Agent Core Components, Characters. Level: Intermediate.

DownloadDownload the Hello World 3 C++ Sample (zipped, 7K). Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in C++.
Requires: Agent Core Components, Characters. Level: Intermediate.

Java Samples

Instructions for installing and running the sample are included in each download. These instructions assume that you are using Microsoft Visual J++. You will be instructed to download and install Microsoft Agent and the character data files to build and run the samples.

DownloadDownload the Character Animation Preview (CAPJ) Sample (zipped, 13K).
Illustrates how to perform several operations with a character and provides a handy tool for previewing a character's animation.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Advanced.

DownloadDownload the Hello World Java Sample (zipped, 4K).
Illustrates using Microsoft Agent from a Java applet.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Basic.

DownloadDownload the Hello World 2 Java Sample (zipped, 6K).
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in Java.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Intermediate.

DownloadDownload the Hello World 3 Java Sample (zipped, 6K).
Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in Java.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Intermediate.

Microsoft Foundation Classes (MFC) Samples

Instructions for installing and running the sample are included in each download. These instructions assume that you are using MFC. You will be instructed to download and install Microsoft Agent and the character data files to build and run the samples.

DownloadDownload the Character Animation Preview Tool Sample (zipped, 47K).
Illustrates how to perform several operations with a character and provides a handy tool for previewing a character's animation.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Intermediate.



Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.