Search This Blog

Monday, November 22, 2010

Tutorial 13

13. Text To Speech


This video tutorial will teach you how to create a text to speech application in Visual Basic .NET. Text to speech is very useful when you are creating applications with complicated tools. It can also be quite entertaining!

Code

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click

Dim SAPI
SAPI = CreateObject("SAPI.spvoice")

SAPI.Speak("Welcome to the 13th visual basic .net tutorial")

End Sub

End Class

No comments:

Post a Comment