Solved

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

Posted on 2007-03-31
3
328 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 70

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

679 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