Hi everyone!

I'm having a hard time trying to figure it out a new coding method for my new program using vb6. For example adding only three combination numbers to have = "9" using only numbers from 1 to 10 like for example 3+4+2=9,
2+6+1=9, 3+1+5=9. My point is using a textbox to put the number "9" that will find combinations using numbers from 1 to 10 with a command click and to show all possible combinations in a labelbox or anything that you think is easier. I would appreciate your help for this coding if it's possible. Thanks.