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 many types of API functions are available in VB?

0 Answers  


What is ActiveX Dll and ActiveX Exe?

0 Answers  


What is the use of Data Form Wizard?

0 Answers  


Whether HTML supports multimedia: and document links?

0 Answers  


how a multiple routing works ?

0 Answers  






Which type of object requires this object?

0 Answers  


What is the use of OLE?

0 Answers   IBM,


Which property of textbox cannot be changed at runtime?

1 Answers  


What is a thread pool and how are the threads within a thread pool managed?

0 Answers  


How would you add column headers in listview control?

0 Answers  


What is RDO?

1 Answers  


Draw Sequence Modal of DAO? Explain.

0 Answers  


Categories