savetree
所属分类:TreeView控件
开发工具:Visual Basic
文件大小:7KB
下载次数:9
上传日期:2005-07-05 12:07:15
上 传 者:
huyifully
说明: 以文件方式保存和恢复treeview 是一款比较新的字做小工具
(on paper preservation and restoration treeview is a relatively new character of small tools)
文件列表:
FORM1.FRM (18253, 1998-04-10)
FORM1.FRX (5204, 1998-04-10)
PROJECT1.VBP (655, 1998-04-10)
TREEVIEW.SER (4217, 1998-04-10)
说明文件-softhy.net.txt (410, 2005-03-27)
http://www.vb-helper.com/HowTo/savetree.zip
Purpose
Save and restore a TreeView from a file.
Method
To save, traverse the TreeView's node structure saving values needed to
recreate the data. To load, use the saved data.
This program uses the serialization concept from the book:
Ready-to-Run Visual Basic Algorithms, Second Edition
By Rod Stephens
19***, John Wiley & Sons, Inc.
ISBN 0-471-24268-3
This technique allows a program to save hierarchical information like the
data in a TreeView in a way that is easy to understand. For more information
go to www.vb-helper.com/vba2.htm.
Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
近期下载者:
相关文件:
收藏者: