Getting all possible solutions
Posted on 2008-02-07
Okay, this is for VB6..
What I want to know is how I can get all possible solutions of a set base of letters.
What I would want though, is to be able to 'input' 6 letters and get all the possible solutions and place them in a array. Letters CAN be the same.. For example, Letter 1 = A, Letter 2 = B, Letter 3 = B, Letter 4 = C, Letter 5 = C, Letter 6 = E, some of the results would be
It doesn't matter if there duplicates however due to the same letter, that's fine by me.. But I was hoping for a simple solution instead of manualy doing each one. Is there any way to get all the solutions? Thanks!