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...
HErrorPassword (Function)
After the execution of a read or write function in a data file, used to find out whether an error caused by a wrong password occurred on this data file.
5. Unit tests
Unit tests (also called automated tests) are used to test windows, procedures and classes in an application at different levels of development......
<PDF Reader>.Highlight (Function)
Finds a text in the document displayed by a PDF Reader control and highlights the occurrences of this text in the control.
FontLarge (Property)
The FontLarge property is used to: Find out whether the characters in a text are enlarged or not. Enlarge (or not) the characters in a text....
Sitemap file for Google
To better analyze the content of the sites, the search engine of Google is using an XML file named "Sitemap" (if it is available)......
PDFReaderHighlight (Function)
Finds a text in the document displayed by a PDF Reader control and highlights the occurrences of this text in the control.
ERR_CANNOT_OPEN_FILE
WDHFDiff: Overview
WDHFDiff is a tool used to compare HFSQL data files......
Overloading a WLanguage function or using a WLanguage function in an SQL query
WLanguage includes the "WL" keyword......
Generating a description of a data file from a window or from a page
When you design a quick prototype, you often create windows (or pages) without defining any data files......
zipInfoFile (Function)
Returns the characteristics of a file found an archive: The name of the file and its stored path. The initial size of the file. The compressed size of file. The date and time of file creation. The date and time of file modification. The date and time of file access. The file attributes. The file encryption mode....
MongoGridFSGetFileInfo (Function)
Allows you to get information about a MongoDB file (gridFS).
<mongoGridFS variable>.GetFileInfo (Function)
Used to get information about a MongoDB file (gridFS).
FileSize (Property)
The FileSize property is used to get the size of a file.
SCPGetFile (Function)
Gets a file via the Secure Copy Protocol.
<sshSession variable>.SCPGetFile (Function)
Gets a file via the Secure Copy Protocol.
User Groupware files
Two categories of data files are managed......
WDZip: Overview
WDZip is used to compress and group your files in archives......
Filters in Table controls based on a data file
WINDEV, WEBDEV and WINDEV Mobile include multiple methods to filter the records displayed in a Table control based on a data file......
RecordSize (Property)
The RecordSize property is used to get the size (in bytes) of a record in: a file described in the data model editor, a file described through programming, an HFSQL view, a query....
The Upload control
The Upload control is used to upload files on the Web server......
HCreationIfNotFound (Function)
Performs the following operations: If the file does not exist, creates an empty data file (".FIC" file) with the index file and the memo file if necessary. The function is equivalent to HCreation. If the file exists, opens the file....
WDInst: Installing an HFSQL Client/Server application
When creating the setup program of a WINDEV application that uses HFSQL Client/Server data files, WDInst allows you to......
Automated tests: Overview
Several test tools are available to guarantee the quality of your applications......