I have NOT been able to freaking figure this out lol.
Lets say I have a List Box and a button. Is there any way of selecting something from the box AND clicking the generate so you get want you want.
If you don't get me lol then here, I want to make a key gen for shitz and giggles.
Code:
Private Sub ListBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.Click
If ListBox1.SelectedItem = "1503 A.D.: A New World" Then
Dim key As Integer
key = Int(Rnd() * 10)
Select Case key
Case 1
TextBox1.Text = "5447-7278892-7648258-2126"
Case 2
TextBox1.Text = "9750-0553133-8300899-5758"
Case 3
TextBox1.Text = "2012-1236143-5723266-5867"
Case 4
TextBox1.Text = "3475-0914223-0632734-6745"
Case 5
TextBox1.Text = "9385-8677964-7296207-4572"
End Select
I got that but I want it so that you select, lets say CoD4, then you press Generate THEN it generates the code, not when you click on an Item in the List Box. get meh? lol.
+rep for help.