title: Searching files in my documents using vb.net
body: <p>i cant access other special folder, like My Music, please help me, i need to include all the subfolder inside My documents..</p>
  
  <pre><code>Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      For Each foundFile As String In My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.SpecialDirectories.MyDocuments, FileIO.SearchOption.SearchAllSubDirectories, "*.txt")
          ListBox1.Items.Add(foundFile)
      Next
  End Sub
  </code></pre>