Heya,

I'm loading a treeview with all files and folders. But how do I load only the files that start with (for example) "D".

My current code (3rd party control):
Code:
Dim lnode As New Node("Exceptions")  ' create parentnode
   .Nodes.Add(lnode)  ' add parentnode to treeview
   For Each x In My.Computer.FileSystem.GetFiles(msopath)
      Dim n As New Node(Path.GetFileNameWithoutExtension(x.ToString))
      lnode.Nodes.Add(n)  ' add the filnames (and the image) to the parentnode
   Next
Thanks in advance.