locked
I need help generating a random set of numbers and letters

    Question

  • can someone please help me? i cant seem to be able to generate a random set of numbers and letters! oh and if it helps i am using microsoft visual basic 2010 express
    Saturday, September 17, 2011 4:16 AM

All replies

  • Hi,

    Dim N1 As String = (Int(Rnd() * 36)).ToString
    If N1= "10" Then
       N1= "A"
    End If
    
    TextBox1.Text = N1
    

    Just do the same for 11,12,13 etc...

    Hope this helps


    Preveen
    Sunday, September 25, 2011 2:22 PM