Solved

Remove a Node from a Treeview.

Posted on 1998-11-23
1
126 Views
Last Modified: 2012-05-04

Is there a way to remove a tree node by it KEY?
That includes all of its sub nodes too.

I can not do it the normal way as the user is not
selecting the node and I have no idea what number
the user has indexed it.

Please Help.
0
Comment
Question by:vienna
1 Comment
 
LVL 13

Accepted Solution

by:
Mirkwood earned 20 total points
ID: 1446479
call treeview1.nodes.remove (treeview1.nodes(key).index)
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

757 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

22 Experts available now in Live!

Get 1:1 Help Now