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
ceFileSize (Function)
In french: ceTailleFichier
Returns the size (in bytes) of a file found on the Mobile Device (Pocket PC) connected to the current computer.
Remark: ceFileSize can be used only if a connection is established between the current computer and the Mobile device (ceConnect).
Example
// Find out the size of the "\MyFiles\File.txt" file
// found on the Mobile device connected to the current computer
ResSize = ceFileSize("\MyFiles\File.txt")
// Display the size
Info("The size of this file: " + ResSize + " bytes.")
Syntax
<Result> = ceFileSize(<File path>)
<Result>: Integer
  • Size of the file (in bytes),
  • -1 if an error occurred. To get the details of the error, use ErrorInfo.
<File path>: Character string (with quotes)
Name and full path of the file to use. This file is found on the Mobile device connected to the current computer.
Remarks

Managing errors

ceFileSize generates an error in the following cases:
  • the specified file does not exist,
  • the name of the specified file is invalid.

Equivalence

ceFileSize and fSize have similar operating modes.
The only difference is:
  • ceFileSize handles a file found on the Mobile Device from a WINDEV application.
  • fSize handles a file found on the Mobile Device 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