Microsoft Agent supports the presentation of software agents as interactive personalities within the Microsoft Windows interface. Microsoft Agent comes with a cast of three characters: Merlin, Genie, and Robby. You can use these characters as interactive assistants to introduce, guide, entertain, or otherwise enhance Web pages or applications. Microsoft Agent also includes tools for defining custom characters.
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.
VB, C++, Java Samples:
<sdkdir>\Samples\Internet\MSAgent\VB\Hello\
Illustrates using Microsoft Agent from Visual Basic.
<sdkdir>\Samples\Internet\MSAgent\C\Hello\
Illustrates using Microsoft Agent from C++.
<sdkdir>\Samples\Internet\MSAgent\C\Hello2\
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in C++.
<sdkdir>\Samples\Internet\MSAgent\C\Hello3\
Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in C++.
<sdkdir>\Samples\Internet\MSAgent\Java\Hello\
Illustrates using Microsoft Agent from a Java applet.
<sdkdir>\Samples\Internet\MSAgent\Java\Hello2\
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in Java.
<sdkdir>\Samples\Internet\MSAgent\Java\Hello3\
Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in Java.
HTML Samples:
These HTML pages demonstrate how to use Microsoft Agent characters from VBScript and JScript. 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.
<sdkdir>\Samples\Internet\MSAgent\HTML\Hello.htm
Illustrates the most basic use of Microsoft Agent from VBScript.
Requires: Agent Core Components, Text-To-Speech Engine.
<sdkdir>\Samples\Internet\MSAgent\HTML\Hello2.htm
Illustrates the most basic use of Microsoft Agent from JScript.
Requires: Agent Core Components, Text-To-Speech Engine.
<sdkdir>\Samples\Internet\MSAgent\HTML\Hello3.htm
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.
<sdkdir>\Samples\Internet\MSAgent\HTML\Goodbye.htm
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.