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...
<DiskFile variable>.Unlock (Function)
Entirely or partially unlocks an external file.
fDelete (Function)
Deletes a file accessible from the current computer.
fLongName (Function)
Returns the long name of a file or directory.
fShortName (Function)
Returns the short name of a file or directory.
dSaveImagePNG (Function)
Saves an image: in a PNG file. in memory....
fTempFile (Function)
Returns the name of a unique temporary file.
fUnlock (Function)
Entirely or partially unlocks an external file.
HEndNoModif (Function)
Unlocks a file that was locked by the same program with HNoModif.
HSetLog (Function)
Enables or disables log management on a file.
HCreateSubscriberReplica (Function)
Creates the description file of a subscriber replica.
fMoveFile (Function)
Moves a file from one directory to another.
<DiskFile variable>.Lock (Function)
Entirely or partially locks an external file.
FileDisplay (Function)
Displays a file in the browser of Web user.
<Scanner variable>.ToPDF (Function)
Saves a document from a scanner to a PDF file.
<PDF reader>.Save (Function)
Saves the content of a PDF Reader to a file.
The Image Editor control (WEBDEV)
By using the Image Editor control in your websites, you will allow users to create and edit images or photos......
iParameterXLS (Function)
Defines the options for the XLS file generated during the print.
Database parameters (Setup program)
The setup program creation wizard includes the setup of the database along with the application and suggests additional elements......
HChangeConnection (Function)
Dynamically changes the connection associated with a data file.
SysRecentDocAdd (Function)
Adds a file into the list of recently opened documents.
OCRExtractTextBlock (Function)
Returns all the text blocks of an image.
Binding an OLE control to an item
An OLE control can be bound to an item in a data file, query, etc....
Type (Property)
The Type property is used to get: the type of element (data file or item) defined programmatically or in the data model editor, view or query. the type of object. the type of data held in a Variant....
MultimediaReader (Property)
The MultimediaReader property is used to get and change the media player currently used by a Multimedia control to play media files.
Item Description (Type of variable)
An Item Description variable is used to describe one or more items in a data file programmatically.