I need to keep count of things in the app I'm working on. When the user clicks a button it adds 1 onto the variable "count".
Here's the code that doesn't work:
Ahhhhh! This is really bugging me! Please help! Any of it is greatly appreciated!Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim count = 0 count = count + 1 Label1.Text = count.ToString() End Sub





Reply With Quote