Advertisement
5_2007-2008 Files/ File Controls/ Input/ Output #182884

TreeView Interface (Drag and Drop; Add, Rename, and Delete Nodes; Save Tree to Database) (Updated)

The following program is an example of a Treeview interface. The example demonstrates how to program drag and drop; add, delete, and rename nodes; saving a tree to a database; and restoring a tree from a database. When you first run the program, you will be presented with a form that will ask you to locate or use a database file. You must use "TreeViewEx.mdb", which is included with the project. You may have to navigate to locate this file. This update corrects two unhandled exceptions (one occurring when attempting to delete the direct child of a root node). The program also demonstrates how to separate data services into its own class. Please see the text file included with the solution for a complete list of functions. There are some pretty nifty ones. Please feel free to e-mail me if you have any questions (mthorogood@mwe.com). Enjoy.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Upload
Original Comments (3)
Recovered from Wayback Machine