This guide will explain how very easy to talk to your PC:1) Insert a TextBox and a CommandButton.2) Insert this code:For VB6: Sub Command1_Click()Dim strSpeech As StringstrSpeech = Text1.textSet ObjSpeech = CreateObject ("SAPI.SpVoice")ObjSpeech.Speak strSpeechEnd Sub For VB8:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
No comments:
Post a Comment