My bad. You are right I should have posted the code I have so far...
What I am not sure if I have my sub routines correct. But I am trying to read in from the text box and then display the result into another text box and the result should only display if the user uses the 'Enter' Key
Dim Display As String
Dim InputResponse As Integer()
Dim i As Integer
Dim j As Intege
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
Me.Dispose()
End Sub
Private Sub ConsoleInput_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtInput.KeyDown
If e.KeyCode = Keys.Enter Then
Display = (txtDisplay.Text)
End If
End Sub
Private Sub txtInput_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtInput.TextChanged
InputResponse = New Integer() {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, _
13, 14, 15, 16, 17, 18, 19, 20}
For i = 0 To InputResponse.GetUpperBound(0)
Display &= i
Next
End Sub
End Class