Wrong Section (Belongs in Programming Section)
Hey guys, i would like to make a GC-Gen in VB, but there remains one problem, how do i make it so when the person types in their gc code and clicks generate, how do i make it generate a random code? Also i want it to follow the same format as a real game card. Thanks for your help in advanced!!
EDIT: Didnt knew it belong in programming, whoops :P
Last edited by omg_lol; 12-16-2008 at 06:09 PM.
OMG LOL
Wrong Section (Belongs in Programming Section)
k, if no1 can help me, tell me if this idea would work, they type in gc code, type in email, and they click generate and a message box pops up saying "you will recieve your gc via email in 10-12 hours. Please do not use your gamecard that you already have while your waiting for your email. Thank you!" Any good?
OMG LOL
Yes, I'm writing this on the top of my head and theres a way better way to handle this but try
The values might need converted over to a string, didn't look at the function.Code:'4-6-5-6-4 Dim r as new Random() txt_1.Text = r.next(1, 9999) txt_2.Text = r.next(1, 999999) txt_3.Text = r.next(1, 99999) txt_4.Text = r.next(1, 999999) txt_5.Text = r.next(1, 9999)