PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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.
Note: 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 find out the error details, 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

The operating mode of ceFileSize is equivalent to the operating mode of fSize.
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.
Components
WINDEVReports and Queries wd230ce.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment