I am trying to create a program that has a button and a text box. Everytime the button is pushed I want it to add one to the text box. I keep getting this error:
Overload resolution failed because no accessible 'Int' accepts this number of arguments
Also I am a huge n00b. Here is where I am at so far, thanks in advance.
Option Strict On
Public Class Form1
Private Sub btnPlus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPlus.Click
Dim i As Integer = Int.Parse(txtAdd.Text)
i += 1
txtAdd.Text = i.ToString()
End Sub
End Class