Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'VB PASS #2'
- 'Microsoft Visual Basic Guide'
- 'https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/'
- 'Name -> remember to put capital letters' 'naming convention is very important'
- 'Multi line text box -> Just right click the text box and select multi line'
- Public Class MyForm
- Private Sub SubmitButton_Click(sender As Object, e As EventArgs) Handles SubmitButton.Click 'the Sub is actually something like void'
- Dim name As String
- name = InputTextBox.text
- HelloLabel.Text = "Hello, " & name
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement