Text To Speech using VB Script
Here I am going to explain how to convert text to speech using VB Script
Code Snippets :
Dim speaks, speech
speaks = "Welcome " + TextBox1.Text + "How Are You" // Your text for convert into speech
speech = CreateObject("sapi.spvoice") // Create object of speech
speech.speak(speaks) // Convert text to speech
Code Snippets :
Dim speaks, speech
speaks = "Welcome " + TextBox1.Text + "How Are You" // Your text for convert into speech
speech = CreateObject("sapi.spvoice") // Create object of speech
speech.speak(speaks) // Convert text to speech
Comments
Post a Comment