bentley
October 26th, 2002, 12:13 PM
Private Sub cmdConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdConvert.Click
Dim intInput As Integer
intInput = txtInput.Text()
txtOutput.Text = intInput
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Me.Close()
End Sub
End Class
The problem is that the only way this works is if i declare intInput as a string how can i get this to work as an integer?
Dim intInput As Integer
intInput = txtInput.Text()
txtOutput.Text = intInput
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Me.Close()
End Sub
End Class
The problem is that the only way this works is if i declare intInput as a string how can i get this to work as an integer?