Hello everybody.

I have a text file with the following contents:-

Value1\Value2\Value3\Value4
Value5\Value6\Value7
Value8

etc etc...

I am using the split command to split each line into an array. No problem there.

How can I get the information into a TreeView object so that each element is a sub node of the preceding one.

So, Value1, Value5 and Value8 would be the root nodes...
Value2 is a sub-node of Value1, Value3 is a sub-node of Value2 etc....

TIA.