After that, draw a CommandButton at the bottom, in the center and name it, “ btnDoIt”, and set its caption to “Do It!”. Now, draw a TextBox underneath the ComboBox and name it Speech, set its text to nothing.
Next draw a ComboBox near the top in the center of the form, and name it Animation, and set text to nothing. Go to your form design view, and click the Agent Control, and draw it anywhere in your form (it is invisible to the user). Now you will see the Agent Control in the toolbox (secret agent guy). So, unless it is already done, tick the box, then press OK. Go to your form and right click the toolbox and press “Components…” you will see a screen much like this one:Īs you can see here, I have already selected Microsoft Agent Control 2.0. Start a new project if you haven't already done so, and make sure wherever you save it, it is in the same directory as “ MERLIN.ACS”.
Once that is done, put “ MERLIN.ACS” in the same folder as the one your project is in. So let's get started.įirst of all, download the source file and install, “ INSTALL FIRST.exe” and “ INSTALL SECOND.exe”. The source code download includes the model and all the installs required to use it (2 small 1MB or so files”), which must be distributed with your program in order for it to work properly on other machines.
If you do not have Windows XP, then don't worry. we will be using the Merlin model, because he comes with Windows XP.
#Ms agent merlin how to#
In this tutorial, I will be showing you how to make a small program that will help you understand certain aspects regarding Microsoft Agent.