Sign in to follow this  
Followers 0
AzKay

_FileListToArray, Cant get it to work.

2 posts in this topic

#1 ·  Posted (edited)

Ive tryed:

$Dir = InputBox("Directory", "Directory:")
    $DirList = _FileListToArray($Dir)
    If IsArray($DirList) Then
        GUICtrlSetData($ConsoleEdit, _ArrayDisplay($DirList, "") & @CRLF)
    Else
        MsgBox(0, "Error", "Error: " & @Error)
    EndIf
oÝ÷ Ø    Ýjëh×6
    $Dir = InputBox("Directory", "Directory:")
    $DirList = _FileListToArray($Dir)
    If IsArray($DirList) Then
        For $i = 1 To $DirList[0]
        GUICtrlSetData($ConsoleEdit, $DirList[$i] & @CRLF)
        Next
    Else
        MsgBox(0, "Error", "Error: " & @Error)
    EndIf
oÝ÷ Ù:ºÚ"µÍÜ    ÌÍÚHHHÈ
ÌÂ

EDIT::

Okai, I went and checked the directory, and it seems, its writing them all, except, it replaces the first line always, it doesnt go to the next line.

Edited by AzKay

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites



Hehe, My mistake, Fixed it.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0