Text to Speech in VB.NET

by bared145 in Circuits > Software

61223 Views, 7 Favorites, 0 Comments

Text to Speech in VB.NET

1.jpg
2.jpg

Make a New WindowsFormApplication

3.jpg
make a new project and name it what you want.

Add a Text Box and a Button

4.jpg
5.jpg
6.jpg
Keep The textbox blank. Change the text of button to "Say The Text".

Code

7.jpg
double click the button. put this code in:

        Dim SAPI
        SAPI = CreateObject("SAPI.spvoice")
        SAPI.Speak(TextBox1.Text)

Download Here:

http://www.mediafire.com/?6dueui4g33bp5gy

Run the Program

8.jpg