Answer Posted / cherran
First Download the Genie.acs (Microsoft Animation Character)
from MSDN. Create one VB std.Exe app. with one button and a
textbox then paste the following code, now your app. will
speek what you typed in textbox. Note: you have to install
Speach Enginee before this.
Genie.Play "Write", "read" will animate the Character.
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.Play "Write"
Genie.Play "Read"
Genie.Hide
End Sub
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what are the Differences between ActiveX Control and Standard Control?
How do I call a DLL?
How would you activate animation control?
Give brief description about class?
what are the types of cursors in DAO?
How would you attach pictures in Treeview Control?
How would you add elements in TreevieW Control.
What is recordset in visual basic?
How would you map properties to controls by using ActiveX Control Interface Wizard?
Explain the types of Views in Listview Control?
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
____ property of menu cannot be set at run time.
What are the tools in visual basic?
How do I play MID, WAV or other multimedia files?
How would you navigate between one document to another document in Internet Explorer ?