Tag Archives: programfiles

Add ‘all’ Special-Folder names to a Listbox/Combobox using VB.NET or higher

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

This will add the names of all the available special folders like MyDocuments, MyPictures, Startup, Programs, ProgramFiles, and so on

        'Should add all of the available special folder names or directorys to a listbox or combobox.
        Dim sFolder As Environment.SpecialFolder

        For sFolder = 0 To 43

            If Not Char.IsNumber(sFolder.ToString) Then


            End If