ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Standard functions / Mobile Device (Pocket PC) access functions
  • Managing errors
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ceListFile (Function)
In french: ceListeFichier
Lists the files found in a directory (and in its subdirectories) and returns the number of listed files. The directory used is found on the Mobile Device (Pocket PC) connected to the current computer.
ceListFile automatically calls a specific procedure written in WLanguage for each listed file. This procedure is used to handle the current file.
Remarks:
  • ceListFile can be used only if a connection is established between the current computer and the Mobile device (ceConnect).
  • This function is available in 64-bit mode.
Example
// Lists the ".BMP" files found in "\MyDocuments".
// The FileAttribute procedure returns the number of read-only files.
ResListFile = ceListFile("\MyDocuments\*.BMP", FileAttribute)
Syntax
<Result> = ceListFile(<Path and generic name of files> , <WLanguage procedure> [, <Pointer>])
<Result>: Integer
Number of listed files.
<Path and generic name of files>: Character string (with quotes)
Path and generic name of files to list. The generic characters (* and?) are allowed.
<WLanguage procedure>: Procedure name
Name of WLanguage procedure ("callback" procedure) that will be called for each listed file. This procedure is used to handle the current file. For more details on this procedure, see Parameters of the procedure used by ceListFile.
<Pointer>: Optional integer
Pointer passed to <Procedure name>.
Remarks

Managing errors

Caution: ceListFile returns no error code. To find out if this function has generated an error, use ErrorInfo with the errMessage constant.

Equivalence

ceListFile and fListFile have similar operating modes.
The only difference is:
  • ceListFile uses a directory on the Mobile Device (Pocket PC) from a standard WINDEV application.
  • fListFile uses a directory on the Mobile Device (Pocket PC) only from a WINDEV Mobile application.
Component: wd260ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/26/2021

Send a report | Local help