Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)_ Handles Button1.Click Dim Show As String Show = InputBox("Enter your name") TextBox1.Text = Show End Sub
Liked By
Write Answer
How do i use inputbox function in VB.Net?
Join MindStick Community
You have need login or register for voting of answers or question.
Amit Singh
22-Nov-2010Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)_
Handles Button1.Click
Dim Show As String
Show = InputBox("Enter your name")
TextBox1.Text = Show
End Sub