Yeah it would only return an integer, seeing as all he did was search for the index of an integer, which your ListBox may not even contain.
Try something like this.
[php]
For each lbItem As String in ListBox1.Items
ListBox2.Items.Add(IO.Path.GetFileName(lbItem))
Next
[/php]