how make a text to speech with visual basic.
open your
change form name type text speecher.
Add one butten and textbox
open butten one code
copy this code and paste here.
Dim SAPI
SAPI = CreateObject("SAPI.spvoice")
SAPI.Speak(TextBox1.Text + " Welcome to the SSM_7 tutorial")
complete code.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim SAPI
SAPI = CreateObject("SAPI.spvoice")
SAPI.Speak(TextBox1.Text + " Welcome to the SSM_7 tutorial")
End Sub
End Class
download complete project .
project for visual basic 2008,2010
File information.
File size :64.78kb
File in :zip
Zip password :ssm7
DOWNLOAD