Solved

import text file data in to Treeview in VB.NET 2003

Posted on 2007-03-31
3
317 Views
Last Modified: 2011-10-03
Hi, I'm trying to create a small vb app which automatically loads text from a txt file into Treeview - e.g.:

rootnode 1
  childnode 1
  childnode 2
rootnode 2
  etc...
----------------------------
TEXT FILE.TXT

"rootnode 1", "childnode 1", "childnode 2"
"rootnode 2", "childnode 1", "childnode 2"
----------------------------

So if I add a new line to the text file, it should update the treeview in my application.

Cheers,
Roberto
0
Comment
Question by:RobertoFreemano
3 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 125 total points
ID: 18828757
see an article I have written about the Treeview control: http://www.emoreau.com/Entries/Articles/2006/04/The-Treeview-control.aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now