How to use Speech SDK 5.1 with Visual Basic 2005?

I have both, and I want to be able to use the speech recognition and text to speech functions in my programs. I know my way around it, but I'm not an expert with Visual Basic, so the more detail, the better. Thanks.

Answer this question

How to use Speech SDK 5.1 with Visual Basic 2005?

  • Isabella.Lee

    I dont know about speech recognition but here is how you can do it with SpeechLib.

    1. Add a reference to your app from the "com" tab called "Microsoft.SpeechLib"
    2. Add an imports statment to your code. "imports speechlib"
    3. Declare a variable "Private Voice as new SpVoice"
    4. In your normal subs all you will have to do is simply type

    Voice.Speak("Text")

    Speech lib also has speech recognition but I haven't played with it yet. Hope I helped.



  • How to use Speech SDK 5.1 with Visual Basic 2005?