Case $Button1
$addfile = FileOpenDialog("Add A File","","All (*.*)")
if $addfile <> 1 Then
_GUICtrlListBox_AddString ($List1,$addfile)
EndIf
Case $Button2
$DATA = ""
$NUM = _GUICtrlListBox_GetCount($List1)-1
For $INDEX = 0 To $NUM
$DATA &= _GUICtrlListBox_GetText($List1,$INDEX) & @CRLF
Next
$bboy= FileOpen("bin\bboy.txt",2)
FileWrite($bboy,$DATA)
FileClose($bboy)
That's just it..