Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Visual Basic 2008 Tutorial ... Text To Speech

Loading...

Sign in or sign up now!
8,408
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 16, 2009

A quick tutorial on how to make a text to speech program in visual basic. Unfortunatley the voice is not M$ Sam though :(


THE CODE:

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

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (SnailWrangler)

  • Can you do this with your own custom sounds?

  • You mean just to play your own sounds in general? Like beeps ect.

  • if it's not microsoft sam what is it then?

  • Some Random woman

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • @SnailWrangler - It is NOT some random woman, actually it is Microsoft Anna, an alternative to Microsoft Sam.

  • Error "End of Statement Expected"

  • this is too much work am too lazy to do it XD

  • Win XP : Microsoft Sam

    Win 7 : Microsoft Anna

  • i enjoy your video

  • On windows vista the built in Text-to-Speech doesn't use Microsoft Sam it uses Microsoft Anna. The code uses the default for the OS. So if you used the program on Windows XP, you would hear Microsoft Sam.

  • this software only speach english can i do speach it italian? it would be fantastic... a great software for have fun with friends xD

  • Watch My Vids To See How to make text to speech and fullscreen for a application.

  • thanks man!

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more