how can i make my application goes to function after certain usage like if i click an button 10 times, then button is disabled just like trial program, so far, i can do that on run-time only, how can i make it count clicks without using Registry? my program is very simple: convert strings to Base64
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
TextBox1.Text = Convert.ToBase64String(New System.Text.ASCIIEncoding().GetBytes(TextBox1.Text))
End Sub