MS Agent is a graphical character that might be used for animated help, learning etc.
Microsoft® Agent is a software technology that enables an enriched form of user interaction that can make using and learning to use a computer, easier and more natural.
MS Agent can be easily integate into windows .net application. Below is the step by step process to add MS Agent into you .net application and do basic animation.
public partial class Form2 : Form { AgentObjects.IAgentCtlCharacter character;
private void Form2_Load(object sender, EventArgs e) { this.axAgent1.Characters.Load("merlin", "merlin.acs"); this.character = this.axAgent1.Characters["merlin"]; this.character.Show(null); }
If you see above code then you may notice that we are using "Merlin" agent. To use any agent, you must have that agent installed on your system. You can download agents from the Microsoft Agent website.

You agent is ready. You can animate this by using its commands. Below are some animation
samples.

this.character.MoveTo(120, 120, null);

this.character.Speak("Welcome to DailyCoding..!!", null);

this.character.Play("Reading");

this.character.Play("Process");
4 comment(S)