How would you activate animation control?



How would you activate animation control?..

Answer / 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

More Visual Basic Interview Questions

How to check the condition in Msgbox?

3 Answers  


what is the difference between vb and vb.net

2 Answers  


how a multiple routing works ?

0 Answers  


What is the size of the variant data type?

3 Answers  


What is the difference between COM and DCOM?

9 Answers   7 Seas, American Infoserv, Microsoft, SRMSCET,






How would you find out the value property in Slider Bar Control?

1 Answers  


I have several megabytes of memory. Why do I get an "out of memory" error?

0 Answers  


What is the use of Connection object?

2 Answers  


How would you attach pictures in column headers of List View Control?

0 Answers   RRB,


which collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol?

1 Answers  


What is Static Cursor?

1 Answers  


What is the use of Tabledef?

0 Answers  


Categories