October 7, 2007
Visual Studio Express 2005 Video Tutorial - Part 4 - Adding Text-To-Speech
In this tutorial, we learn how to add speech to a visual basic application. You can download the VB source code for this project by clicking on this link: Text-To-Speech
Once you have downloaded the source code, you need to open Visual Basic Express 2005 and clicking on File/Open Project. Then, navigate to where you downloaded the source and click on the file that has the .sln (solution) extension.
Three steps are important in using speech in a VB application:
1. Add a reference to Microsoft Speech Object by going to Project/Add Reference/Com tab
2. Add the Imports SpeechLib statement at the top of the module that will be using the speech.
3. Create a new SpVoice object and call Voice() to read the text.
If you have any problems locating the Microsoft Speech object, you may need to download Microsoft Speech SDK 5.1
To download Visual Basic 2005 Express, please click here: Visual Studio 2005 Express - Part 1 - Installing VB Express
If you desire to learn the details, I highly recommend the series from Learn Visual Studio. It is one of the best sites for learning Visual Studio that I have found, and they allow you to download many videos for free to try it out. I have a Lifetime Subscription to Learn Visual Studio and have spent hundreds of hours watching their videos. I am very satisfied with the amount of information that they provide, and I think it is an extremely good value. Most video tutorials and live training classes for Visual Studio cost around $25 per hour (see AppDev.com, Learnkey.com, etc.), but Learn Visual Studio only costs about 70 cents per hour of video. You can save 30% off of the retail price for Learn Visual Studio by clicking on the link at the beginning of this paragraph.
You can find a summary of over 700 video tutorials on a wide variety of programming topics at this post.
Tags:speak speech Text to Speech tts Visual Basic & VB.NET visual basic 2005 express Visual Studio 2005 voicePopularity: 55% [?]










Comments