Loading...

how to make a visual basic talk bot simple part 2 more chat and diffrent button

1,619 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jan 31, 2012

like comment sub

code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox2.Text = "Hi" Or TextBox2.Text = "hi" Then TextBox1.Text = "Hello My Friend." End If If TextBox2.Text = "Wat's your name" Or TextBox2.Text = "do you have a name" Then TextBox1.Text = "Yes, i am called Bob." End If If TextBox2.Text = "yes" Or TextBox2.Text = "Yes" Or TextBox2.Text = "yeh" Or TextBox2.Text = "Yeh" Then TextBox1.Text = "Nice." End If If TextBox2.Text = "have any family" Then TextBox1.Text = "Yes, i have my mum, dad and 1 sister." End If If TextBox2.Text = "your age" Then TextBox1.Text = "1 year old" End If If TextBox2.Text = "Bye" Or TextBox2.Text = "bye" Or TextBox2.Text = "cya" Or TextBox1.Text = "Cya" Then TextBox1.Text = "Good Bye Nice Talking To You." End If End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click TextBox1.Text = "Do you like football." End Sub

  • Category

  • License

    • Standard YouTube License

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...