Home > Language Reference > Classes > VFSVolume
FindNextFile Method
Continues listing the files started with FindFirstFile.
Syntax
Public Function FindNextFile(ByRef sFile As String, ByRef eAttributes As HbFileAttribute) As Boolean
| Parameter | Description |
| sFile | Name of file found. |
| eAttributes | Attributes of file found. |
Remarks
The FindNextFile continues listing all the files and directories initiated by the FindFirstFile function. Like most functionality of this object, calling this method without having previously initialized a valid volume reference in the Reference property will cause a runtime error.
If at least one file exists, the sFile and eAtttributes parameters, passed ByRef, are respectively given the name and attributes of the first file found and the FindNextFile function returns the function True. If no file exists in the specified directory, the function returns False.
Refer to the description of the FindFirstFile function for an example of how to use this function.
See also Expansion cards and the VFSDemo sample.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | Requires an expansion slot. |