FZ_FormBase.GetFileList

Gets the list of file/directory information

Public Shared Function GetFileList( _
    ByVal fileName  As String, _
    ByVal mode As Integer, _
    ByRef fileList As String() _
-) As Integer

Parameters
fileName
File name
Input
mode
Mode
Bit0 is ON: Gets the list of file
Bit1 is ON: Gets the list of directory
Bit2 is ON: Gets the list of file/directory besides the hiding file
Bit3 is ON: Gets the list of file/directory besides the system file
Input
fileList
The list of file/directory information
Output

Return Value
Returns 0 when the list of file/directory information is successfully obtained.
Otherwise returns a non-zero value.

Description
Uses this API to get the file information list and the directory information list.
Returns the char array which is mades up of file name, size and update time separated by \ . For example, the getting information likes Filename.scn\102344\2010/09/03 11:32:22.

Example
    Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Dim fileList As String() = {""}

        ' Gets the list of file/directory information
        GetFileList("Filename.scn", 0, fileList)

    End Sub