Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Dim SapiObject
- Private Sub SpeechButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SpeechButton.Click
- SapiObject = CreateObject("SAPI.spvoice")
- SapiObject.speak( TextBox1.Text)
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment