Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim speech
        speech = CreateObject("sapi.spvoice")
        speech.speak(TextBox1.Text)
    End Sub
End Class

Recommended Answers

All 4 Replies

What application can I use to recognize of my vb.net system the chinese language? thank you for your response

According to your Codes:
It will work definately But when you have written the big lines almost 5 line and try to move/drag your form from 1 place to another then it will not respond any more....

• What to be done to stop this?

► Add the Backgroundworker to your form.

Button1 code:

BackgroundWorker1.RunWorkerAsync 

Background Worker Code:

    Dim speech
    speech = CreateObject("sapi.spvoice")
    speech.speak(TextBox1.Text)


► This would be the best idea as to read the Text in VB,
► Now I am in Search of: What we speak that writes itself.

I found videos on it but dll files to be downloaded and it also complicated then too in am in search...

Thank You

How to do this in .net web page

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.