locked
sub folders RRS feed

  • Question

  • how do I find all the sub folders in my music folder and add them to a combobox

    dropdown list..?

    thanks

    Tuesday, November 6, 2007 7:36 AM

Answers

  • Code Block

    Imports System

    Imports System.IO

    ...

    yourCombo.Items.AddRange(Directory.GetDirectories(Enviroment.GetFolderPath(Environment.SpecialFolder.MyMusic)))

     

     

     

    Tuesday, November 6, 2007 9:48 AM

All replies

  • Code Block

    Imports System

    Imports System.IO

    ...

    yourCombo.Items.AddRange(Directory.GetDirectories(Enviroment.GetFolderPath(Environment.SpecialFolder.MyMusic)))

     

     

     

    Tuesday, November 6, 2007 9:48 AM
  • thanks for the reply mattias

    but I cannot get this to work in my application

    but I have sorted my problem out another way...

     

    thanks anyway

    clint

    Tuesday, November 6, 2007 2:11 PM