I am supposed to write a program that takes data from a file named data.txt, that is set up like so:
ccc, root
abc, child
xyz, child
bbb, child
aaa, child
rrr, root
453, child
123, child
Jones, root
123 Elm Street, child
i have a button that is supposed to sort that read the data in, sort it and display it in a tree view that is already expanded. This particular instructor does not explain anything and i am not very experienced with vb. I am taking 3 programming classes at the same time and right now im fried. any help would be greatly appreciated. i realize that this should be easy to me and the instructor said that its only about 12 lines of code. I have attached his instructions and finished project.
ccc, root
abc, child
xyz, child
bbb, child
aaa, child
rrr, root
453, child
123, child
Jones, root
123 Elm Street, child
i have a button that is supposed to sort that read the data in, sort it and display it in a tree view that is already expanded. This particular instructor does not explain anything and i am not very experienced with vb. I am taking 3 programming classes at the same time and right now im fried. any help would be greatly appreciated. i realize that this should be easy to me and the instructor said that its only about 12 lines of code. I have attached his instructions and finished project.