Hi,
You may add MS Agent like the way you add OleControl or ActiveX control. Search MS Agent (Or similar caption) from the Add OleControl dialog box into you form. A icon like "Agent" or " Spice" should appear on you form. Your may call it like the following:
myagent = THISFORM.oleAgent
myagent.characters.LOAD("Genie","C:\WINDOWS\MSAGENT\CHARS\genie.acs")
myagent.characters("Genie").SHOW
myagent.characters("Genie").speak("hello")
myagent.characters.unload("Genie")
Try this out
Hope it helps
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...