Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TREEVIEW

Status
Not open for further replies.

mimosa

IS-IT--Management
Apr 4, 2002
25
US
Hi,
How can I correct the mistake when I have thie error:"code exception Ole IDispatch0 of nodes: the key is not single in the collection " but after I verify the key and I change it and I put it unique key but I have a new error too is :"code exception Ole IDispatch0 of nodes:Index out of bounds..." If it is prossible can I send u by email my application of treeview and u ask me about the problem and answer me too.
 
I'm not sure what your question / problem is. Assuming you installed the sample code when you installed the help file from the MSDN Library CD, start up the sample app SOLUTION:

do (_samples+"\solution\solution.app")

The first example in Solutions -> ActiveX -> ActivieX Controls (Add and Remove Items in a Treeview Control) seems to work just fine for me. However it's user interface does require a little getting use to. First you have to click on the new root to enable the "New Child" button, then after you Click this button you need to double click on he "root" item to see the new child. (Non-Root items will show the "squared-plus" to show unexpanded sub-items.)


Also if you go to and then to the "Technical Papers" section, you can get "Using Visual FoxPro ActiveX Controls" - it has a good Treeview example.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top