title: Inputbox to array in VB.NET
body: <p>I have a program here that will solve an expression...</p>
  
  <p>First I need to input the expression in a textbox. That will be stored in a CharArray and then substitute the variables to integer by using input boxes...</p>
  
  <p>My problem is: How can I store the integer to an array and also store the operation?</p>
  
  <pre><code>Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      Dim arr() As Char = TextBox1.Text.ToCharArray
      Dim aChar As Char
      Dim a As String
      Dim calc() as String
  
      'Me.Height = Me.Height + 90
      Me.Button1.Enabled = False
      Me.TextBox1.Enabled = False
      For i = 0 To TextBox1.Text.Length() - 1
          aChar = arr.ElementAt(i)
          If Char.IsLetter(aChar) Then
              a = InputBox("Enter value for " &amp; aChar, "Expression")
  
              'Here what code?
              '    Try
              '        calc(i) = a
  
              '    Catch ex As Exception
              '        MsgBox("eee")
              '    End Try
              'Else
          End If
      Next i
  End Sub
  </code></pre>