ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

fTempPath (Example)
Usage example of the fTempPath function
fDelete (Example)
Usage example of the fDelete function
SOAPError (Function)
Returns the error of the last SOAP procedure that failed.
fSeek (Example)
Usage example of the fSeek function
fWriteLine (Example)
Usage example of the fWriteLine function
dbgWriteCommentAudit (Function)
Writes a comment into the current dynamic audit.
Error (External language)
Displays a dialog box containing an error logo and the message passed as parameter.
Library,Error (External language)
Loads the file that contains the error messages handled by WD??EXE.DLL in the desired language.
HAdd (Example)
Usage example of the HAdd function
DriveCopyFile (Function)
Copies a single file on a remote drive to another directory on same drive.
ModbusReadBit (Function)
Reads one or more bits from a Modbus slave, starting at a specific address.
<modbusSession>.ReadBit (Function)
Reads one or more bits from a Modbus slave, starting at a specific address.
HErrorDuplicates (Function)
Used to check whether a duplicate error occurred.
HOnError (Example)
Usage example of the HOnError function
ErrorWithTimeout (Function)
Displays a custom error message in a system error window for a set amount of time.
Automatic management of exceptions
The management of exceptions can be customized by process...
XamlProperty (Function)
Used to find out and modify the value of a .Net property for an Xaml control or for a Carousel control.
Month (Property)
The Month property is used to:
  • Retrieve the month from a Date or DateTime variable.
  • Modify the month in a Date or DateTime variable.
  • Retrieve the month from a Date item (in "Simple date" or "Date and Time" format)
  • Modify the month in a Date item (in "Simple Date" or "Date and Time" format)
<XAML>.Property (Function)
Allows you to find out and modify the value of a .Net property for an Xaml control or for a Carousel control.
ErrorPropagate (Function)
Propagates a non-fatal error that can be processed by the calling code if the management of non-fatal errors was enabled for this code (in the code editor or by ErrorChangeParameter).
HErrorLock (Function)
Used to check whether a lock error occurred.
zipMsgError (Function)
Returns the message associated with an error code on an archive.
fMerge (Function)
Merges several files into a single one.
ExceptionChangeParameter (Function)
Configures the automatic behavior that will be implemented if an exception occurs in the current process.
SMSSend (Function)
Sends an SMS.
ModbusReadRegister (Function)
Reads one or more registers from a Modbus slave, starting at a specific address.
ErrorWithTimeoutAsynchronous (Function)
Displays a custom error message in a non-blocking system error window for a given amount of time.
<modbusSession>.ReadRegister (Function)
Reads one or more registers from a Modbus slave, starting at a specific address.
fSplit (Function)
Splits a file into several files.
J2EERun (Function)
Runs a procedure on a server of J2EE XML web services.
ErrorAsynchronous (Function)
Displays a custom error message in a non-blocking system error window.
J2EEGetResult (Function)
Returns the result of the last J2EE procedure that was successfully run.
HPass (Function)
Defines the password used to create or open a data file.
ErrorChangeParameter (Function)
Configures the automatic behavior that will be implemented if an error occurs in the current process.
DomoOpen (Function)
Used to establish a connection with a X10 interface.
General exception mechanism
A process of general exception is available for all the components of the object with which it is associated...
HTTPGetResult (Function)
Retrieves the result or the header of last HTTP request run.
Day (Property)
The Day property is used to:
  • Get the day from a Date or DateTime variable, or get the number of days from a Duration variable.
  • Change the day of a Date or DateTime variable, or change the number of days of a Duration variable.
  • Get the day or the number of days from a Date item (in "Date", "Date and Time" or "Duration" format)
  • Modify the day or the number of days in a Date item (in "Date", "Date and Time" or "Duration" format)
ExceptionInfo (Function)
Retrieves information about the current exception.
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.
ErrorInfo (Function)
Retrieves information about the last error that occurred in a function of a WINDEV, WINDEV Mobile or WEBDEV component.
Screen,FileToScreen (External language)
Updates the controls in the window with the values from the bound items in the data file.
ModbusDisconnect (Function)
Closes the Modbus session.
PhotoRunApp (Function)
Starts the native camera application of the device in order to take a photo.
Sending and receiving emails
WINDEV, WEBDEV and WINDEV Mobile allow you to directly manage the emails from your applications...
External language: Pascal programming
We are going to call the elements developed in WINDEV (project, windows, ...
Example of video management (transmitted by a Camera control) (prefix syntax)
In this example, the application allows you to...
Example for managing videos (broadcasted by a Camera control)
In this example, the application allows you to...
MatReadLine (Function)
Reads the value of all elements found in a matrix row.
Calling a procedure/a function
Syntax for calling a local or global procedure.
HCopyFile (Example)
Usage example of the HCopyFile function
CancelWebserviceContext (Function)
Deletes from the web service context a variable added by DeclareWebserviceContext.
WebserviceReadMIMEType (Function)
Returns the MIME type of the request received when calling a REST web service.
fWrite (Example)
Usage example of the fWrite function
HViewToFile (Example)
Usage example of the HViewToFile function
NetRenameFile (Function)
Renames or moves a file located on the FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server created with WINDEV.
This function is kept for backward compatibility.
EndService (Function)
Ends the execution of the current service.
SQLTable (Function)
Transfers the result of a query to a Table control populated programmatically (a List Box or Combo Box control), with the possibility of Partial Fetch (the result is retrieved by blocks of rows).
iParameterDuplicate (Function)
Configures the automatic creation of the duplicate copy generated during the next print.
WebserviceWriteCustomHTTPCode (Function)
Specifies the custom HTTP code that will be returned when the execution of the REST web service function is completed.
HErrorIntegrity (Function)
Used to check whether an integrity error occurred.
EmailStartIMAPSession (Function)
Starts a session for receiving and reading emails with the IMAP protocol.
GPSGetPosition (Function)
Retrieves information about the current device position.
zipOpenCAB (Function)
Opens an existing archive in CAB format.
Managing Hive databases
Hive is a software layer of Hadoop used to run queries...
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.
Compilation statement: COMPILE IF
The <COMPILE IF> statement allows you to compile (or not) a WLanguage code according to a condition.
fDateTime (Example)
Usage example of the fDateTime function
geoTrackingEnable (Function)
Enables the management of location tracking in a WINDEV Mobile application.
zipOpen (Function)
Opens an existing archive.
SQLTransaction (Example)
Usage example of the SQLTransaction function
SQLAssociate (Function)
Automatically associates each column of the query result with a control or with a variable of the application.
SQLFirst (Function)
Positions on the first row of the query result.
HDeclareExternal (Function)
Temporarily imports into the current analysis the description of a data file from an existing HFSQL data file.
<zipArchive variable>.Open (Function)
Opens an existing archive.
Managing emails with "Simple MAPI"
Simple MAPI simplifies the management of emails received by the hosting provider...
fSelect (Example)
Usage example of the fSelect function
Reintegrating translated text into a project
Once the translation of framework libraries ("...
EmailStartSession (Function)
Starts an email management session based on the selected management mode (POP3, SMTP, IMAP or MS Exchange).
CameraRunApp (Function)
Starts the device's native camera application to record a video or to take a photo.
emailSMTPSession (Variable type)
The emailSMTPSession type is used to access a messaging server by using the SMTP protocol (Simple Mail Transfer Protocol) in order to send emails.
aiNeuralNetworkModel (Variable type)
The aiNeuralNetworkModel type is used to define all the advanced characteristics of a neural network used by AIDetectModel.
CertificateClientInfo (Function)
Returns information about the certificate used by the client computer.
Error (Function)
Displays a custom error message in a system error window.
<modbusSession>.WriteRegister (Function)
Writes one or more registers (16-bit values) to a Modbus slave, starting at a specific address.
VideoStartApp (Function)
Starts the device's native camera application to record a video or to take a photo.
MacOS - Developing an application in Catalyst mode
Apple has recently released an SDK to natively compile iOS applications for MacOS...
TestWriteResult (Function)
Writes information or an error into the status report of a unit test, in the test editor.
<modbusSession>.WriteBit (Function)
Writes one or multiple bits to a specific address in a Modbus slave.
ModbusWriteRegister (Function)
Writes one or more registers (16-bit values) to a Modbus slave, starting at a specific address.
Error
The keyword Error keyword is used to manage errors.
Translating a text file with WDTRAD
zipOpenRAR (Function)
Opens an existing archive in RAR format.
CommandLine (Function)
Identifies and retrieves the different elements of the command line passed as a parameter to the current program.
MatError (Function)
Identifies the type of the last error caused by a Matxxx function (functions for matrix management).
<zipArchive variable>.OpenRAR (Function)
Opens an existing archive in RAR format.
Project compilation: Warning, Error, Information, Programming standard...
When developing a project, the project is compiled on a regular basis.
<aiNeuralNetworkModel variable>.Detect (Function)
Runs a trained neural network model on an image. This function allows you to use artificial intelligence to detect objects in an image.
InfoThumbnailGeneration (Property)
The InfoThumbnailGeneration property is used to determine if the thumbnails of an item have been generated successfully.
"END:" label
The END: label is used to define a code that will be systematically run at the end of process execution.
AIDetectModel (Function)
Runs a trained neural network model on an image. This function allows you to use artificial intelligence to detect objects in an image.
HError (Function)
Returns the number of the last error triggered by the HFSQL engine.
zipExist (Function)
Determines whether an archive exists.
SQLLast (Function)
Sets the position on the last row of the query result.
ModbusConnectRTU (Function)
Connects a client to a Modbus slave via a serial port.
SQLNext (Function)
Positions on the next row of the query result.
modbusSession (Variable type)
The modbusSession type is used to identify a connection to a Modbus server.
ModbusConnectTCP (Function)
Connects a client to a Modbus server via transmission control protocol (TCP).
SQLPrevious (Function)
Positions on the previous row of the query result.
ControlError (Function)
Customizes the value displayed in the controls when the value cannot be displayed.
EmailCheckAddress (Function)
Checks the validity of an email address.
CertificateSignExecutable (Function)
Signs an executable file with a certificate.
<zipArchive variable>.Exist (Function)
Determines whether an archive exists.
CertificateSelect (Function)
Opens a window for selecting the certificates. The listed certificates are the certificates installed in the personal store.
HModifyStructure (Example)
Usage example of the HModifyStructure function
HTTPRequest (Function)
Starts an HTTP request on a server.
ModbusWriteBit (Function)
Writes one or multiple bits to a specific address in a Modbus slave.
gpwAddUserToGroup (Function)
Adds a user to a group of the User Groupware database.
EmulateError (Function)
Emulates the next call to Error and automatically clicks the "OK" button.
XMLSave (Function)
Saves an XML document in a file.
<xmlDocument variable>.Save (Function)
Saves an XML document in a file.
WLanguage procedure called by zipAddDirectory
WLanguage procedure ("Callback") called when adding files with zipAddDirectory.
tapiListen (Function)
Starts the call detection (also called "call monitoring service").
External language: Programming in Fortran
We are going to call the elements developed in WINDEV (project, windows, analysis, ...
DDEError (Function)
Returns the runtime status report of a DDE function.
NotifPushEnable (Function)
Enables the management of push notifications in a WINDEV Mobile application (Android or iOS).
CDEject (Function)
Opens or closes the door of CD/DVD player selected on the current computer.
WLanguage procedure called by zipAddDirectory to handle the progress bar
WLanguage procedure ("Callback") used by zipAddDirectory to manage the progress of files being added to the archive.
Certificate (Variable type)
The Certificate type is used to handle:
  • the certificates used to sign the strings or the files.
  • the certificates used to sign the emails.
HErrorInfo (Function)
Returns a detailed information about the last error triggered by the HFSQL engine.
BarCodes (Variable type)
The BarCodes type is used to handle the information found in a bar code.
BurnerVolumeName (Function)
Allows you to find out or modify the name of the CD or DVD to burn.
SpreadsheetSave (Function)
Saves the content of a Spreadsheet control in a file in XLSX format.
BurnerEject (Function)
Opens or closes the door of the current burner.
<Spreadsheet>.Save (Function)
Saves the content of a Spreadsheet control in a file in XLSX format.
AFTER
Runs a process only after a given procedure has been executed, and continues to execute the current code while waiting for this procedure to end.
zipCreate (Function)
Creates an archive.
inAppListProductInfo (Function)
Retrieves, from the store, information about the "In-App" products associated with the application.
BuildBrowsingTable (Function)
Creates a Table control from the items of a data file (view or query).
CertificateSignString (Function)
Creates the signature of a character string.
appServerScheduledTask (Variable type)
The appServerScheduledTask type is used to manage a scheduled task of WEBDEV Application Server through programming (for a site or a web service).
Telephony: Managing incoming calls
The management of the incoming calls is performed in a specific "thread".
HOnError (Function)
Customizes the management of HFSQL errors.
JSEvent (Function)
Associates a browser procedure with an event on an object in browser code.
Project description: Compilation tab
The project description window allows you to configure various elements of your project...
WLanguage procedure called by HashCheckString
Procedure ("Callback") called by HashCheckString when checking the hash algorithm.
ConsoleError (Function)
Writes a character string in the standard error output stream "stderr".
PanelActivate (Function)
Activates a panel when several panels are docked together.
WLanguage procedure called by CameraPhoto
WLanguage procedure ("callback") called when the photo is saved via CaméraPhoto.
Internal procedure
Several features require a procedure called once or several times via a WLanguage function ("Callback").
SNMPTrapDisable (Function)
Disables the interception of an SNMP trap.
WLanguage procedure called by CameraRunApp
WLanguage procedure ("callback") called when taking photos or recording videos via CameraRunApp.
gpwResetPassword (Function)
Resets the password of a registered user.
WLanguage procedure called by CameraVideoStart
WLanguage procedure ("callback") called when the video recording is completed.
H.ErrIgnore (Variable)
Specifies the mode for processing the errors:
  • the errors are processed by WINDEV
  • the errors are processed by the program.
zipAddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
J2EEError (Function)
Returns the error for the last J2EE procedure that failed.
WLanguage procedure called by inAppRestorePurchases
Procedure ("Callback") called by inAppRestorePurchases when a purchase is restored.
SNMPOIDDescription (Function)
Returns the description of an OID.
inAppRestorePurchases (Function)
Restores the purchases of non-consumable products previously performed by the user in an iOS application.
Parameters of the procedure used by fReadLine
WLanguage procedure ("Callback") called by fReadLine for each line read in the file.
SNMPStringToOID (Function)
Converts an OID from its text representation to its numeric representation.
Difference of behavior in Windows Vista (and later)
The test of your project was run using one of the Vista/7 test options...
GroupReset (Function)
Reinitializes the Group structure.
SocketConnectInfrared (Function)
Connects a client computer to a given socket via the infrared port.
<zipArchive variable>.OpenCAB (Function)
Opens an existing archive in CAB format.
WDModFic: Tool for automatic modification of data files
WDModFic is a tool for automated modification of data files on development and end-user workstations...
TaskAdd (Function)
Adds a task to the task list of a Lotus Notes or Outlook messaging.
SocketCreateInfrared (Function)
Creates a socket that uses the infrared port.
GroupAdd (Function)
Adds a group of contacts in a Lotus Notes or Outlook address book.
SNMPOIDStatus (Function)
Returns the status of an OID.
CertificateCheckFileSignatureBuffer (Function)
Checks the correspondence between a signature and a file. The signature was stored as a Buffer variable.
DotNetError (Function)
Returns the error for the last .Net procedure that failed.
<Source>.ExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
SNMPOIDType (Function)
Returns the type of data in an OID.
FileDisplay (Function)
Displays a file in the user's browser.
HExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
BurnerCancel (Function)
Cancels the current burn process.
Hasp (Function)
Interrogates an electronic HASP key (HASP-3, HASP-4, MemoHasp or NetHasp).
SQLConnectWS (Function)
Connects the current application to a database that will be queried by SQL through a web service proxy (SOAP).
WebserviceWriteHTTPCode (Function)
Specifies the HTTP code that will be returned at the end of the execution of the REST web service function.
SQLConnect (Function)
Connects the current application to a database that must be interrogated via SQL.
1
8