Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How would you activate animation control?

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


Please Help Members By Posting Answers For Below Questions

what are the Differences between ActiveX Control and Standard Control?

3750


How do I call a DLL?

1549


How would you activate animation control?

2433


Give brief description about class?

1957


what are the types of cursors in DAO?

2071


How would you attach pictures in Treeview Control?

2033


How would you add elements in TreevieW Control.

2254


What is recordset in visual basic?

1066


How would you map properties to controls by using ActiveX Control Interface Wizard?

2289


Explain the types of Views in Listview Control?

2295


How come I get a "No Current Record" error when I use a a Data Control on an empty table?

1583


____ property of menu cannot be set at run time.

1770


What are the tools in visual basic?

1119


How do I play MID, WAV or other multimedia files?

1564


How would you navigate between one document to another document in Internet Explorer ?

2316