SaveSetting and Treeview Nods
Im trying to use SaveSetting to save the state of tree view nods when a form is unloaded....
but havent been able to figure out what setting to save. I tried
VB Code:
SaveSetting App.Title, Me.Name, "TreeBranches", TreeView1.Nodes.Item.Expanded
but that didnt work. Ideas?
Re: SaveSetting and Treeview Nods
What "data" do you actually want to save?
What do you want to do with this "data" when you load it next time?
Woka
Re: SaveSetting and Treeview Nods
I want to save the current state of the nodes. Which ones the user left open, which nodes the user left close, etc.
Re: SaveSetting and Treeview Nods
Re: SaveSetting and Treeview Nods
Google is your friend!
http://www.devx.com/vb/Article/9707
That's a good idea, to use XML. They have a link, also.