vb Code:
  1. Imports System.IO
  2. Public Class frmBrowser
  3.     Private Sub btnSelect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelect.Click
  4.         Dim di As New IO.DirectoryInfo(dlgBrowse.SelectedPath)
  5.         Dim aryFi As IO.FileInfo() = di.GetFiles("*.*")
  6.         Dim fi As IO.FileInfo
  7.         For Each fi In aryFi
  8.             If txtFolders.Multiline = True Then
  9.                 txtFolders.Text = txtFolders.Text & vbCrLf & fi.Name.Replace(fi.Extension, "")
  10.             Else
  11.                 txtFolders.Text = txtFolders.Text & " | " & fi.Name.Replace(fi.Extension, "")
  12.             End If
  13.         Next
  14.     End Sub
  15. End Class

thats wot i got completely lol