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 is the need of tabindex property is label control.
Is it possible to Access BackEnd procedures?
How would you add elements and pictures to listitems in listview control?
How would you map properties to controls by using ActiveX Control Interface Wizard?
How do I create controls dynamically (at run-time)?
It possible to call OLEDB's Features directly in VB without using any control?
How to get Cursor position using API?
What is the use of Data Form Wizard?
When/Why should I use Option Explicit?
I get a "file not found" error on the IIF function when I distribute by program. Why?
Which method is preferred to save datas like database?
What is rdo in vb?
How can I speed up my VB database application?
Is it possible to Manipulate data through flexgrid? Explain.
How would you find out the value property in Slider Bar Control?