?
Solved

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

Posted on 2007-03-31
3
Medium Priority
?
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…
Suggested Courses

719 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