I want to populate a dropdown list with the names of folders in a certain directory. I can get the names easily enough.
CODE#Include <File.au3>
#Include <Array.au3>
$FileList=_FileListToArray(@DesktopDir,"*.*", 2)
If @Error=1 Then
MsgBox (0,"","No Files\Folders Found.")
Exit
EndIf
_ArrayDisplay($FileList,"$FileList")
But when I go to populate the list it doesn't work.
CODE
$combo = GuiCtrlCreateCombo("Select a folder",30, 75, 220, 200)
GuiCtrlSetData($combo,