Hi All,
I'm eagerly anticipating what you have to say on something that's
stumped me over the weekend. I'm writing a small application which
utilises a treeview control. I've figured out how to programatically
add nodes to it, but everytime the program is exited the treeview
control resets itself.
I looked for a save method or something similair but there doesn't seem
to be one. I have found the copyto method, and figured out how to copy
the treeview collection to an array however!
So I thought i could write this array to a file, and read it at runtime
to populate the treeview, however when I enumerate the array I only get
the parant nodes. And when I use the rank method It tells me the array
is one dimensional.
So my question is twofold really. One, am I going about this the right
way or is there a better way to save the treeview collection? And two,
how do I copy the entire treeview collection to an array, and not just
the parant nodes?
Many thanks, and in anticipation!
Gary.