loading

Step 1: Make a New WindowsFormApplication

make a new project and name it what you want.

Step 2: Add a Text Box and a Button

Keep The textbox blank. Change the text of button to "Say The Text".

Step 3: Code

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

Step 4: Run the Program

<p>You can also add a trackbar to the form and add the code:</p><p>SAPI.volume = TrackBar1.Value * 10</p><p>This will allow you to control the volume of the voice in run time.</p>
<p>I also MADE IT!</p><p>and i added speech recognition also from a tutorial I found on <a href="http://www.phon.ucl.ac.uk/courses/spsci/compmeth/speech/recognition.html" rel="nofollow">http://www.phon.ucl.ac.uk/courses/spsci/compmeth/s...</a></p>
<p>You haven't mentioned the volume. ????? <br>SAPI.Volume = 100</p>

About This Instructable

37,062views

6favorites

License:

More by bared145:Text To Speech in VB.NET 120VAC to 9VDC Power Supply How To Make A Portable 5V USB Charger (For iPods, iPhones, And Mobile Devices) 
Add instructable to: