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 the difference among Standard EXE, Active-X DLL, Active-X EXE?

2 Answers  


1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report

0 Answers   Microsoft,


what are the Differences between ActiveX Control and Standard Control?

0 Answers   Wipro,


How many system controls are available ?

1 Answers  


what is the Difference between Listindex and Tab index?

1 Answers  






Types of LockEdits in DAO?

0 Answers  


How to use hyperlink?

0 Answers  


How can you Navigate from the DHTML application to another DHTML application? .

0 Answers  


What is Internet Explorer and its uses?

0 Answers  


What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?

1 Answers  


What is ADO? What are its objects ?

1 Answers  


How would you add elements and pictures to listitems in listview control?

0 Answers  


Categories