ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
Identifier of the external file. This identifier will be used by all the functions for handling the external files.-1 if an error occurred. To get the details of the error, use ErrorInfo with the errMessage constant.
Name and full (or relative) path of file (up to 260 characters). The extension of the file can be specified. By default, if the file extension is not specified, the external file will have no extension. A UNC path can be used.Remark: If the external file already exists (same directory and same name), this file is destroyed and re-created. To avoid deleting an existing file, use fOpen associated with the foCreateIfNotExist constant.Versions 15 and later This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: In Android, an application has the rights to write into its setup directory or into one of its subdirectories, as well as onto the external memory (SDCard).New in version 15 This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: In Android, an application has the rights to write into its setup directory or into one of its subdirectories, as well as onto the external memory (SDCard). This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: In Android, an application has the rights to write into its setup directory or into one of its subdirectories, as well as onto the external memory (SDCard). This path must be a full path or a UNC path. It cannot be a relative path. Versions 17 and later This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: On iPhone/iPad, an application has the rights to write into its setup directory or into one of its subdirectories.New in version 17 This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: On iPhone/iPad, an application has the rights to write into its setup directory or into one of its subdirectories. This parameter can correspond to a full path or a path relative to the current directory (returned by fCurrentDir). This parameter is case-sensitive. Reminder: On iPhone/iPad, an application has the rights to write into its setup directory or into one of its subdirectories.
Options for file creation: Lock options: A lock can be implemented when the external file is opened: foWriteLockThe file will be created in write-only. The other applications that use this file will not be able to modify it.foReadLockThe file will be created in read-only. The other applications that use this file will not be able to read it.Versions 25 and laterfoAutomaticDeletionNew in version 25foAutomaticDeletionfoAutomaticDeletionThe file is locked when it is opened and it will be automatically deleted when it is closed (call to fClose or at the end of the application).If several applications have opened this file, it will be automatically deleted when the last application closes it (call to fClose or at the end of the application).Versions 17 and laterType of external file to create. This type is used by fReadLine and fWriteLine to define the type of information to read and write in the external file: foAnsiAnsi file. This constant is used to manage an Ansi file when the "Use Unicode strings at runtime" mode is enabled in the project configuration.This mode is used by default in the WINDEV and WEBDEV projects.foUnicodeUnicode file. This constant is used to manage a Unicode file when the "Use Ansi strings at runtime" mode is enabled in the project configuration.This mode is used by default in the WINDEV Mobile projects.New in version 17Type of external file to create. This type is used by fReadLine and fWriteLine to define the type of information to read and write in the external file: foAnsiAnsi file. This constant is used to manage an Ansi file when the "Use Unicode strings at runtime" mode is enabled in the project configuration.This mode is used by default in the WINDEV and WEBDEV projects.foUnicodeUnicode file. This constant is used to manage a Unicode file when the "Use Ansi strings at runtime" mode is enabled in the project configuration.This mode is used by default in the WINDEV Mobile projects.Type of external file to create. This type is used by fReadLine and fWriteLine to define the type of information to read and write in the external file: foAnsiAnsi file. This constant is used to manage an Ansi file when the "Use Unicode strings at runtime" mode is enabled in the project configuration.This mode is used by default in the WINDEV and WEBDEV projects.foUnicodeUnicode file. This constant is used to manage a Unicode file when the "Use Ansi strings at runtime" mode is enabled in the project configuration.This mode is used by default in the WINDEV Mobile projects.By default, if no constant is specified: the external file can be freely accessed by the other applications, the type of the file corresponds to the default mode. This parameter is not available. The external file can be freely accessed by the other applications.
Managing errors
Operating mode in Windows Vista (and later)
Last update: 02/26/2021
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: