Visual Studio Express 2005 Video Tutorial – Part 4 – Adding Text-To-Speech (TTS)
Get 5 Hours of FREE PREMIUM Videos:
LearnVisualStudio.NET Free Preview
“ I am a lifetime member of LearnVisualStudio.net and a Premium Plus member of dotNetVideos.net.
LearnVisualStudio.net is awesome because it grows in value each year as more videos are added.
dotNetVideos.net is also great because it focuses a lot on MS Certifications and practical interview questions.
”
- Wade Harvey (IdealProgrammer.com)
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
By far, the best hosting company that I have found for .NET applications is Discountasp.net. Discountasp.net provides many SQL tools that make it easy to remotely manage your sql database directly from your computer that other hosting companies like GoDaddy do not.
You can find a summary of over 700 video tutorials on a wide variety of programming topics at this post.
Related posts:
- Visual Studio Express 2005 Video Tutorial – Part 3 – What is Visual Studio This video tutorial provides a high-level overview of what Visual...
- Visual Studio Express 2005 Video Tutorial – Part 1 Quick 2-minute tutorial shows how to install Visual Studio Visual...
- Visual Studio Express 2005 Video Tutorial – Part 2 This is the second of a series of asp net...
- What is Visual Studio .NET? Visually describes Visual Studio 2005 origins, major components, and various...
- Object-Oriented Programming Video Tutorial Course The post for "Object Oriented Programming Tutorials - Over 25...
Related posts brought to you by Yet Another Related Posts Plugin.














































you might want to include the line of code :
Dim voice As New SpeechLib.SpVoice
for those of us who are just starting out. It took me a couple of minutes to realize that the reason my program was not functioning was due to not creating the object before using it. I know this is basic but it was confusing for me.