Try this:
Add an imagelist to a form. Add an image to the imagelist and set the key to "icon"
Form should have a treeview and a textbox (I know you said inputbox, but bare with me). Add the following code inside of your form. Start the project, type anything into the textbox, and then click the node. Voila! Your node now has text.
Private Sub Form_Load()
TreeView1.ImageList = ImageList1
Dim nodX As Node
Set nodX = TreeView1.Nodes.Add(, , , "")
nodX.Image = "icon"
End Sub
Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node)
TreeView1.Nodes(1).Text = Text1.Text
End Sub
I hope this helps.
Ron
Ron Repp