how to do a program that will generate the possible combination that you had input in the textfield. and those input will appear on the listbox. for example: as i type ace in the textfield, possible combination of those letter will be cea, eac, eca, cae. those combination will be displayed in the listbox. all of it.
By typing them in at the keyboard. Are you expecting us to actually give you the answer to your homework? That's not the way it works here - you try something and, if it doesn't work, you post a section of relevant code and we help you sort that out. We don't help you cheat.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
Voted 1 for blatant homework question. I'm sure that writing the algorithm to do permutations is the entire point of this exercise. Getting someone else to write it for you will teach you nothing, and if you keep that approach through your education you'll end up as one of the terrible developers that make our lives hell.
All of the pieces of an exercise are available to you, and you are supposed to be learning how to but those thoughts together. Breaking down a problem description into the pieces you need to use is one of those skills and you aren't helping anyone by asking CP to do that for you.
You're not really flamed for having a homework question, but for not showing you did something yourself and not being specific.
We're all professionals here doing real paid work. We're willing to help, but not at our own expense.
- have you googled? If you don't know the keywords to look for, that would be a specific question.
- have you tried? What did you do? What is the problem? You can't get the text as input? You can't shuffle the characters?
So google first, try a little (open your book, your teacher will not give an assignment of which the answer can't be found in lecture notes) and if you get stuck on specific problem, come back here.
(PS: would be nice to see another nickname than Member 9454563 )