Results 1 to 7 of 7

Thread: Text to speech won't work [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    Text to speech won't work [RESOLVED]

    I am trying to use the MS Agent control to do text-speech. I have downloaded all kinds of crap from microsoft, but cannot get it to talk. And yes I have the speech applet in my control panel. When I do this, the agent just displays the bubble with text in it. How can I get it to talk?
    VB Code:
    1. Private WithEvents MsAgent As Agent
    2. 'Create a Character Object
    3. Private Joe As IAgentCtlCharacterEx
    4.  
    5. Private Sub Command1_Click()
    6.  
    7. Joe.Speak "I will emphasize \emp\this word."
    8.  
    9. End Sub
    10.  
    11. Private Sub Form_Load()
    12.  
    13. Set MsAgent = New Agent
    14. Set MsAgent = New Agent
    15.  
    16.  
    17.  
    18. 'Load the Default Character by not supplying
    19. 'an ACS file
    20. MsAgent.Characters.Load "Joe", _
    21.        "e:\vb stuff\agent\e-man.acs"
    22.  
    23. '‘Set the Merlin object to our new character.
    24. Set Joe = MsAgent.Characters("Joe")
    25.  
    26. Joe.Show
    27. End Sub
    Last edited by blindlizard; Dec 24th, 2002 at 12:10 PM.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width