OKIEWARDOYO

VB.NET No.8

Sep 7th, 2013
3,154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.27 KB | None | 0 0
  1. Public Class Form1
  2.     Dim SapiObject
  3.     Private Sub SpeechButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SpeechButton.Click
  4.         SapiObject = CreateObject("SAPI.spvoice")
  5.         SapiObject.speak( TextBox1.Text)
  6.     End Sub
  7. End Class
Advertisement
Add Comment
Please, Sign In to add comment