VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



TreeviewFrom/ToFile

by Trond Sørensen (2 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

This example builds on Srinis example found on www.vb-helper.com.
Srinis example loaded data to a treeview from a text file with tabs
denoting indentation.
My contribution is the save treeview to file function.
It only saves one level of childs, it was all I needed for my other project.
Srinis example loads more than one level of childs. I am shure some small
modifications to my example will enable it to save multiple levels of childs,
but thats your jobb ;)

Assumes
Nothing. This is a example application demonstrating the use of the functions LoadTreeviewFromFile and SaveTreeviewToFile. Both functions is in the basefile modTreeView.bas, wich can easly bee included in your own projects.

Rate TreeviewFrom/ToFile

Download TreeviewFrom/ToFile

Download TreeviewFrom/ToFile (6 KB)

TreeviewFrom/ToFile Comments

No comments have been posted about TreeviewFrom/ToFile. Why not be the first to post a comment about TreeviewFrom/ToFile.

Post your comment

Subject:
Message:
0/1000 characters