PEHLA KALMA

PEHLA KALMA
Sanaullah Sajid

How make text to speech with visual basic

how make a text to speech with visual basic.
open your

visual basic and make new form.

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")

Run your progame. it complete make.


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