How do I display Items that are Checked from a treeView in a listBox using VB?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming that it’s winforms:
Edit: Code for calling recursive method:
Recursive method:
You’d have to adjust this if you want them to appear in a certain order or anything like that. Can’t remember if you might also have to have a check for ‘If nodes is nothing Then return’ at the beginning of the ‘AddToList’ method.