aijohn
asked on
treeview with richtextbox
i have a treeview with ten nodes
two rich text boxes notes and newwork
want to click on a node and write text in notes from node1.txt , node2.txt, etc for that specific node
then enter text in newwork for that node
then save the whole thing so all work will be there next time and can be edited and expanded
two rich text boxes notes and newwork
want to click on a node and write text in notes from node1.txt , node2.txt, etc for that specific node
then enter text in newwork for that node
then save the whole thing so all work will be there next time and can be edited and expanded
see this for saving in CVS file
http://www.vb-helper.com/howto_net_treeview_load_csv.html
http://www.vb-helper.com/howto_net_treeview_load_csv.html
better examples for saving TreeView
http://www.thecodeproject.com/cs/miscctrl/loadandsave.asp
http://www.thecodeproject.com/cs/miscctrl/loadandsave.asp
ASKER
nice examples, but I'm trying to get a specific answer on how to fill textboxes with input from text file
depending on which node is selected
depending on which node is selected
Please, I am so slow...
When you select a Node, you want to view its contents in a richTextBox?
When you select a Node, you want to view its contents in a richTextBox?
ASKER
I want to view textfile1.txt when node1 selected
textfile2.txt when node2 selected, etc,, etc
in first text box
then i want to input new text for each node in the second textbox on same form
and then save the whole thing
textfile2.txt when node2 selected, etc,, etc
in first text box
then i want to input new text for each node in the second textbox on same form
and then save the whole thing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Now how to save a Tree you can see the following example
http://www.dotnetspider.com/Technology/KBPages/544.aspx