VB icon

Make Characters Talk! MS Agent

Email
Submitted on: 1/2/2015 9:50:00 PM
By: Mike Miller (from psc cd)  
Level: Not Given
User Rating: By 1 Users
Compatibility: VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script
Views: 2128
 
     It will make a character of your choice(many to download) talk.
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
				
'**************************************
' Name: Make Characters Talk! MS Agent
' Description:It will make a character of your choice(many to download) talk.
' By: Mike Miller (from psc cd)
'
' Inputs:The MS Agent Character
'
' Returns:Voice
'
' Assumes:Make Sure you have MS Agent installed and TruVoice, you can get these from Microsoft's Website at http://msdn.microsoft.com/workshop/imedia/agent/default.asp. This will allow you to make the characters talk. After you got the files, just insert the ms agent active x control and you are on your way. All you got to do then is insert the code and download whatever characters you want to use, for example a cool parrot, a butler, surfmonkey and much more!
'**************************************

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.Hide
End Sub


Other 1 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Not Given category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.