dcsimg
July 17, 2018
Hot Topics:

Using Microsoft Agent

  • November 19, 2002
  • By Karl Moore
  • Send Email »
  • More Articles »

Let's quickly review how to manipulate Microsoft Agent with this printer-friendly rundown:

  • To 'initialise' your Agent character:
Dim Assistant As IAgentCtlCharacterExAgentControlOnForm.Characters.Load "Assistant"Set Assistant = Agent1.Characters("Assistant")
  • To show or hide your Agent character:
Assistant.ShowAssistant.Hide
  • To make your Agent character talk:
Assistant.Speak ("Speech Text Goes Here")
  • To make your Agent character think:
Assistant.Think ("Think Text Goes Here")
  • To animate your character:
Assistant.Play("AnimationName")
  • To find out what animations your character is capable of:
Dim Animation As VariantFor Each Animation In Assistant.AnimationNames   MsgBox AnimationNext
  • To place emphasis on a particular word:
Assistant.Speak ("He is bad. \emp\Very bad.")
  • To whisper a sentence:
Assistant.Speak ("\Chr=""Whisper""\But don't tell him I told you!")




Page 6 of 7



Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

Thanks for your registration, follow us on our social networks to keep up-to-date