Results 1 to 13 of 13

Thread: Help Me!!!! Please!!1 TTS...

  1. #1

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228

    Help Me!!!! Please!!1 TTS...

    The Microsoft Text To Speech Engine is driving me crazy
    (yes i have the Microsoft Speech SDK... and i've gone to Project|Components and added a DirectSS Control to my form...)

    I've tried:
    DirectSS1.sayit ("hello")
    DirectSS1.speak ("Hello")

    None of these work!!!! It Wont speak to me... It works in the sample program that the SDK comes with tho... I need Help... Please!!! Who knows how to make the TTS engine work in a VB app?!?!?

  2. #2
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Tell me if this works on your system cause it works on mine.
    Attached Files Attached Files

  3. #3
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Remove the spaces around the speak so it looks like this
    VB Code:
    1. DirectSS1.speak  "Hello"
    2. or
    3. DirectSS1.speak text1.text
    4. assuming that you have a textbox
    and
    the say it method is used in this way
    VB Code:
    1. DirectSS1.Sayit = "test"

  4. #4

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    no there is no source code for the sample.... that is the bad part... I'll see if that sample work on my system... thanx...

  5. #5
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    I do not quite know the right wording for this, but if you are going to set the value of a returned function to a variable you would use the parens if you are not returning the values then you would not use the parens. Something like that. That is why it was not working. You probably do not have to download the code. You just have to look at the next post after that.

  6. #6

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    well, the speak function still does nothing, but the sayit function i got somewhere on.... when i put

    DirectSS1.sayit = "test"

    instead of it doing absolutly nothing, it gives me an error:

    "method "sayit" of object "IDirectSS" failed."

    Can you tell me why it gives me this error and how to fix it? thanx...

  7. #7
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Did you use it the way i stated above.

  8. #8
    DaoK
    Guest
    Where you find the dll to use taht

  9. #9

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    yes

  10. #10
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Try and download it from ms again. I do not have here at work. And i have no speakers so i really cannot test.

  11. #11

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    I'll try... but maybe i didn't set it up right...?

  12. #12

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228

    I FIXED THE PROBLEM!!!

    I was using the 5.0 SDK. I guess there is something wrong with it cause I downloaded the 4.0 SDK Suite and it works!!!

  13. #13
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768
    Cool

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