Dude you have an interesting question, heres what i would do!
button_click() 'Your normal button click event
SplitNumbers()
end sub
Private Sub SplitNumbers()
Dim str as String
str = textbox1.text
dim len as Integer
len = str.length
dim splitStr(len) as string
for i as integer = 0 to len -1
splitStr(i) = str.substring((i+1), 1)
next
Generate_Combinations(splitStr)
End Sub
Public Sub Generate_Combinations(ByVal combo() As String)
Dim extraLetters as string
dim len as length
len = combo.length
for i as integer = 0 to len - 1
combo(i) = combo(i) & RandomLetter() & RandomLetter()
next
End Sub
Public Function RandomLetter() As String
dim randomNumber as integer = cint((rnd() * 90))
for i as integer = 0 to 100000 'make a continuouse loop so we find a _character
if randomNumber < 65 then
return 'code to make ascii number, can't remember what it is, but i will find out, i don't have
vb present to look!
else
randomNumber = Cint((rnd() * 90))
end if
next
End Function
Okay, everything below the button click event is properly coded, i hope, i have literally jsut done this out of my head okay. on the form you need a textbox called textbox1 and a button. Assuming you know how to program buttons and their click event then you can do this. The new combinations will be created into the combo() array from there you can manipulate it. have fun with that, write back if you have any queries, obviously i will test the code at about 5.00pm if i can remember!
Good luck.
------------------------------------------------
Apocolypse2005
Always ready and waiting to be helped!