Hi Everyone,
I'm trying not to be lazy but I'll ask, does anyone have some code that they're willing to share that will take an array of file paths and load them into a Treeview so that the Treeview layout is equal to the directory structure.
I have a string array of file paths (sorted and capitalized) and I need to walk the array from the first element to the last and create the correct nodes in the correct relationship (parent/child).
.... just trying to save myself a few hours of headache trying to figure out this algorithm.
Thanks!
I'm trying not to be lazy but I'll ask, does anyone have some code that they're willing to share that will take an array of file paths and load them into a Treeview so that the Treeview layout is equal to the directory structure.
I have a string array of file paths (sorted and capitalized) and I need to walk the array from the first element to the last and create the correct nodes in the correct relationship (parent/child).
.... just trying to save myself a few hours of headache trying to figure out this algorithm.

Thanks!
Comment