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

What is dao in visual basic?

0 Answers  


What is the purpose of the ClipControls property on a form or container?

1 Answers  


VB ActiveX: Create a "drivelist"(D1) box, a "folderlistbox"(FLD1) that changes whenever D1 is changed , and a "FilelistBox"(FIL1) that is populated with the file lists under the selected directory in (D1).The file selected is stored in a variable "filename" along with the path. Question: How to use this activeX control in VC++ to get the selected filename?

0 Answers  


What is snapshot in vb?

0 Answers  


Types of cursors in RDO.

0 Answers  






what are the Controls which do not have events ?

1 Answers  


How many File System Controls are there ? Explain.

0 Answers  


what is the Default property of datacontrol ?

2 Answers  


Is it possible to Access BackEnd procedures? Explain.

0 Answers  


what is the Difference between listbox and combo box?

2 Answers  


How do I create a new form in visual basic?

0 Answers  


What is the use of Scalewidth and ScaleHeight Proeperty?

0 Answers  


Categories