Treeview in COBOL code

[Migrated content. Thread originally posted on 19 August 2011]

Hello
I am new to COBOL but I know Visual Studio
I would like to create TREEVIEW via Visual Studio but I can not define arrays of nodes.
I'm trying to do as follows

invoke treeview1::nodes::ADD ("ROOT NODE"). (It's Works)
invoke treeview1::nodes[0]::Nodes::ADD ("CHILD NODE"). (does not work)

If anyone can help me,

Thanks