Hmm, probably not much you can do about it. You are creating a lot of nodes, so a With statement would speed things up by keeping a reference to the treeview nodes collection rather than having to look it up over and over again. What I mean is that instead of each line (of client-side vbs) being TreeView1.Nodes.Add(...), change it to either
Code:
With TreeView1.Nodes
Call .Add(...)
...
End With
Beware though, that with isn't supported on older vbs versions, so if you're not sure what version your users have then you may be safer seeting an explicit object reference like this:
Code:
Dim xNodes
Set xNodes = Treeview1.Nodes
xNodes.Add(...)
xNodes.Add(...)
...
this will make your code run quicker, but whether you'll actually notice it is anyone's guess.
hth
Phil