Microsoft AgentMicrosoft Agent*
*Contents  *Index  *Topic Contents

Samples

• HTML Samples
• VB, C++, and Java Samples

HTML Samples

These HTML pages demonstrate how to use Microsoft Agent characters from VBScript and JScript. You can browse a sample by clicking its link below. Each sample will attempt to install its required components if they are not already installed. These samples download their character animations from http://activex.microsoft.com/characters/, so you must be connected to the internet.

• Hello World
Illustrates the most basic use of Microsoft Agent from VBScript.
Requires: Agent Core Components, Text-To-Speech Engine.

• Hello World 2
Illustrates the most basic use of Microsoft Agent from JScript.
Requires: Agent Core Components, Text-To-Speech Engine.

• Hello World 3
A revised version of the Hello World sample that uses Request objects and the RequestComplete event to manage errors and report progress.
Requires: Agent Core Components, Text-To-Speech Engine.

• Goodbye World
Demonstrates the basics of scripting a Microsoft Agent character to respond to voice commands on a web page.
Requires: Agent Core Components, Text-To-Speech Engine, Command and Control Engine.

VB, C++, and Java Samples

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®, Microsoft Visual C++®, or Microsoft Visual J++™, as appropriate. The location given for each sample is a path relative to the location where you installed the Internet Client SDK.

• Hello World (VB)   Samples\MSAgent\VB\Hello\
Illustrates using Microsoft Agent from Visual Basic.
• Hello World (C++) Samples\MSAgent\C\Hello\
Illustrates using Microsoft Agent from C++.
• Hello World 2 (C++) Samples\MSAgent\C\Hello2\
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in C++.
• Hello World 3 (C++) Samples\MSAgent\C\Hello3\
Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in C++.
• Hello World (Java) Samples\MSAgent\Java\Hello\
Illustrates using Microsoft Agent from a Java applet.
• Hello World 2 (Java) Samples\MSAgent\Java\Hello2\
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in Java.
• Hello World 3 (Java) Samples\MSAgent\Java\Hello3\
Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in Java.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.