title: How to display value from TextBox into a MessageBox in VB.NET?
body: <p>I honestly don't know what I'm doing wrong. I have a textbox named "txtNumSticks" where the user enters a number. After the user hits start, I want a message box to pop up that says "Okay! We'll play with (x) sticks!" But I can't get it to work. First day learning VB.net. Thanks in advance!    </p>
  
  <pre><code>Private Sub btnStart_Click(sender As Object, e As EventArgs) Handles btnStart.Click
      Dim NumSticks As String
      txtNumSticks.Text = NumSticks
      Game.Show()
      Me.Close()
      MessageBox.Show("Okay! We'll play with " &amp; NumSticks &amp; "sticks!")
  End Sub
  </code></pre>