Advertisement
ASP_Volume3 Custom Controls/ Forms/ Menus #45166

Make Characters Talk! MS Agent

It will make a character of your choice(many to download) talk.

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
Dim Genie As IAgentCtlCharacterEx
Const DATAPATH = "genie.acs"

Private Sub Form_Load()
  Agent1.Characters.Load "Genie", DATAPATH
  Set Genie = Agent1.Characters("Genie")
  Genie.LanguageID = &H409
  TextBox.Text = "Hello World!"
End Sub
Private Sub Button_Click()
  Genie.Show
  Genie.Speak TextBox.Text
  Genie.Hide
End Sub
원본 댓글 (3)
Wayback Machine에서 복구됨