Başlangıç > Kodlar > VB.NET ile bilgisayarı konuşturmak

VB.NET ile bilgisayarı konuşturmak


Siz yazın bilgisayarınız konuşsun (VB.NET için)

Project/Add Referans 'tan COM sekmesine gelin ve Microsoft Speech Object Library 'yi işaretleyin.
Birde textbox1 ve button1 ekleyin.


Dim konus As New SpeechLib.SpVoice
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Text = "Welcome computer system "
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
konus.Speak(TextBox1.Text)
End Sub

  1. sevket kayaalp
    03/03/2019, 13:19

    Teşikkürler, bunu türkçe konuşturabilirmiyiz?

    Beğen

  1. No trackbacks yet.

Yorum bırakın