SHARE
TWEET

VbPAAS(2)

a guest Sep 12th, 2019 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'VB PASS #2'
  2.  
  3. 'Microsoft Visual Basic Guide'
  4. 'https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/'
  5.  
  6. 'Name -> remember to put capital letters'  'naming convention is very important'
  7.  
  8. 'Multi line text box -> Just right click the text box and select multi line'
  9.  
  10. Public Class MyForm
  11.     Private Sub SubmitButton_Click(sender As Object, e As EventArgs) Handles SubmitButton.Click     'the Sub is actually something like void'
  12.             Dim name As String
  13.  
  14.             name = InputTextBox.text
  15.  
  16.             HelloLabel.Text = "Hello, " & name
  17.  
  18.     End Sub
  19. End Class
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top