>Good afternoon the whole ones.
>I set up a TreeView starting from a table, only that if that table has TreeView more than 1000 registrations he/she gives the following mistake:OLE IDispatch exception code 0 from Nodes: Invalid Key..., then I ask: does TreeView have limits of registrations?, is that limit of 1000 registrations?, if he/she has limits is there some form of outlining that?
>
>Will it be that anybody could help me?
>
>Thank you very much for the help of everybody.
Douglas,
I haven't found a limit yet and I have tested with over 5500 nodes so far (4500 first level nodes and then child nodes).
It sounds like you are violating the uniqueness of the Index. This is the 3rd parameter in the Nodes.Add method. If you specify a key value that already exists, it throws an error about an invalid key.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao