ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Report based on a text file
In a report based on a text file, the information to print is read from a text file or is directly assigned in the report controls...
Translating a text file with WDTRAD
fListResource (Function)
Lists the resources integrated to the application.
HImportText (Function)
Imports a Text file into an HFSQL Classic or Client/Server data file. This data file must have been defined in the data model editor, or declared with HDeclare, HDeclareExternal or HDescribeFile).
<Source>.ImportText (Function)
Imports a Text file into an HFSQL Classic or Client/Server data file. This data file must have been defined in the data model editor, or declared with HDeclare, HDeclareExternal or HDescribeFile).
Handling the external files
WINDEV, WINDEV Mobile and WEBDEV propose several functions allowing you to manage the external files from your WINDEV/WINDEV Mobile applications or from your WEBDEV sites...
fBuildRelativePath (Function)
Returns the path to a file relative to a reference directory.
fInsertTextAtBeginning (Function)
Inserts text at the beginning of a file without overwriting the existing text.
fAddBuffer (Function)
Adds the content of a buffer at the end of a file.
fFind (Function)
Finds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.Write (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fLoadText (Function)
Loads the contents of a text file into any text field or variable (string variable, window edit control, report label field, etc.).
How to read in a text or CSV file?
This help page explains how to read the content of a text or CSV file.
Print modes of a report
Several print modes are available for a report.
fAddText (Function)
Adds the content of a character string at the end of a file.
fWatchDirectory (Function)
Detects changes made to the contents of a directory.
fSaveText (Function)
Creates and fills a text file with the content of a text control or text variable (string variable, edit control in a window, Static Text control in a report, ...).
fWrite (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fExtractResource (Function)
Extracts a resource from the application into a physical device location.
How to write into a text or CSV file?
This help page explains how to write into a text or CSV file.
fIsImage (Function)
Determines whether a file on disk or in a buffer corresponds to an image format recognized by WINDEV or WEBDEV.
fLoadBuffer (Function)
Loads the content of an external file (text, image, ...) in a buffer variable.
<DiskFile variable>.Find (Function)
Finds a character string or a buffer in a file opened by fOpen.
fWatchFile (Function)
Starts watching a file.
fSaveBuffer (Function)
Creates and fills a text file with the content of a string or buffer variable.
Result of a query in test mode
After its execution in test mode (see Running the query test), the result of the query can be...
HChangeLogDir (Function)
Modifies the location of log files corresponding to an HFSQL data file.
<Source>.ChangeLogDir (Function)
Modifies the location of log files corresponding to an HFSQL data file.
<Source>.Close (Function)
Closes a data file or all the data files opened by the current user: all the corresponding physical data files are closed for the current user.
REP files
REP files contain the list of data files handled by the application....
HIndex (Function)
Rebuilds the file index (".NDX" file).
22 tips for optimizing the speed of a site
When a site is on-lined, one of the main expectations of Web users is speed......
Uploading files
Uploading consists in saving a file located on the user's computer to the Web server......
Structure of log files (HFSQL Classic)
The following files are automatically created when logging an HFSQL Classic data file......
Structure of log files (HFSQL Client/Server)
The following files are automatically created when logging an HFSQL Client/Server data file......
WDMap: Adding, modifying and deleting the records of a data file
WDMap allows you to perform simple operations (addition, modification or deletion) on the records found in a data file......
7. HFSQL: files physically created
MongoGridFSListFile (Function)
Retrieves the list of MongoDB files found in the MongoDB file system (gridFS).
<mongoGridFS variable>.ListFile (Function)
Retrieves the list of MongoDB files found in the MongoDB file system (gridFS).
15. Creating the executable in practice
Creating the executable in practice...
Binding a List Box control to an item
A List Box control can be bound to an item in a data file, query, etc....
zipExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
NetEraseFile (Function)
Deletes a file from the FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV. This function is kept for backward compatibility....
Setup of a WEBDEV site: Automatic data file modification
The automatic modification of the data files allows updating the description of data files on the Web server......
XML management: Use example
This application example manages an XML file named "Orders......
Hint (Property)
The Hint property gets and sets the hint text displayed when the Edit control is empty.
BottomIndent (Property)
The BottomIndent property gets and sets the space at the bottom of the text (bottom margin) in a control.
WDAdminHF: Scheduled task
The remote HFSQL administrator is used to define the scheduled tasks......
<zipArchive variable>.CurrentFile (Function)
Returns the name of the archived file currently handled by the functions for adding and extracting files.
<zipArchive variable>.ExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
Generating the analysis
The analysis generation comes before the programming phase and after the file description phase......