To perform a search in this page, select "Find" in your browser (Edit..Find or CTRL+F)
WD Keystrokes
WINDEV
This program built with WinDev lets you detect and identify a keystroke.
Constants corresponding to the standard keys have been defined in a class in order to make it easier to reuse in another application.
PC Using Sockets
WINDEV
This example uses a client/server application to present the new "Socket" functions.
This examples presents the following topics:
1/ Connecting to a socket
2/ Accepting a connection request
3/ Performing read and write operations on a socket

Example Overview:
This example presents the main socket management functions supplied with WinDev. To use this example, you must launch a first instance of the example in server mode. Then, enter the name of the computer used as server and a login. You can now connect to this application in client mode. Messages can be sent to all connected users. In this exemple, a thread and a socket are associated with each connection.
WD Characters
WINDEV
This program, powered by WinDev, is used to insert special characters into a RTF control and to view the ASCII and ANSI codes
PC Network Tasks
WINDEV
This example explains how to develop a WinDev application that shares data in HyperFileSQL format with a Pocket PC.
Two conditions are required to use this example:
1/ the Pocket PC must have access to the network (Ethernet card, Wi-Fi)
2/ the data of the WinDev application must be accessible in read/write via a UNC path (share)

Summary of the example supplied with WinDev Mobile:
The WinDev application is used to enter a task list (with management of priorities, deadline, automatic reminder)
The Pocket PC accesses this data to indicate that a task in currently performed or completed


Pocket Using Sockets
WINDEV Mobile
This example uses a client/server application to present the new "Socket" functions.
The Pocket PC is a "Client" application (the "Server" part is done by the "PC Using Sockets" application).
This examples presents the two following topics:
1/ Connection to a socket from a Pocket PC
2/ Read and write operations on a socket

Example Overview:
This example presents the main socket management functions supplied with WinDev and WinDev Mobile. To use this example, you must launch a first instance of the "PC Using Sockets" example in server mode. Then, enter the name of the computer used as server and a login. You can now connect to this application in client mode. Messages can be sent to all connected users. In this exemple, a thread and a socket are associated with each connection.
Pocket Network Tasks
WINDEV Mobile
This example explains how to create a WinDev application sharing data in HyperFileSQL format with a Pocket PC.
Two conditions are required to use this example:
1/ The Pocket PC must have a permanent access to the network (Ethernet, Wi-Fi, ...)
2/ Data found in the WinDev application must be accessible in read/write via a UNC path

Example Overview:
The WinDev application is used to enter a list of tasks (with priority management, deadlines, automatic reminders, and so on)
The Pocket PC accesses data and specifies whether a task is completed or in progres
WD Calculations on dates and times
WINDEV
This example explains how to perform calculations on dates and times with the WLanguage functions.
The following topics are presented in this example:
1/ Functions for handling dates
2/ Functions for handling times
3/ Conversions and calculations
Summary of the example supplied with WinDev:
This program, powered by WinDev, is used to perform calculations on dates and times via procedures that can be easily included in your windows or in your reports.
This example explains how to:
- Calculate the duration passed between two moments (dates and times)
- Perform a sum of durations
- Perform an average of durations
Pocket Tic Tac Toe
WINDEV Mobile
This example presents the famous "Tic Tac Toe".

Example Overview:

This example enables you to play "Tic Tac Toe" on Pocket PC.
The game purpose is simple: display 3 marks in a row on the grid.


WD Stock chart
WINDEV
This example presents the new features available in the chart designer for the stock charts.
The following topics are presented in this example:
1/ the different types of stock charts
2/ the method for printed a chart in a report

Summary of the example supplied with WinDev:
This example is used to view the stock market from different types of charts. To do so, it contains a file of shares and a file containing the rates of these shares. The popup menu as well as a configuration window allow you to toggle the different types of charts. The chart can also be printed.


WD SNMP
WINDEV
The "SNMP" functions of WinDev allow you to manage the network equipments: PCs, servers, switches, robots, and so on.
SNMP (Simple Network Management Protocol) is the standard protocol for managing the network hardware.
WinDev enables you to:
- control the network workload,
- optimize the operating mode of the network,
- solve the network problems.
WinDev enables you to write applications for managing the network equipments.
This example is used to display information about the specified network computer:
IP address of the computer, MAC address, system, and so on.
This example interrogates the computer to get this information via the SNMP functions of WLanguage.
Pocket Thread Pool
WINDEV Mobile
This example presents the WLanguage functions used for thread management.
This example presents the two following topics:
1/ Run threads
2/ Limit the number of threads in execution at a given time

Example Overview:
Reminder: a thread is a process running in parallel to the current application (main thread).
You can for instance run a process in background task (backup, etc.).
Threads are very useful in the industry: supervisor, applications with real-time process check, and so on.
WD Transaction
WINDEV
This program, powered by WinDev, is based on a simplified analysis (ORDERS, ORDERLINE and STOCK). It illustrates the operating mode of the transactions when placing an order.
WD JavaMail
WINDEV
This example is a Java example used to create an applet.
This applet can then be used in an Internet page.
This applet enables you read and send emails.
In this project, a second configuration enables you to manage a "Standard" Java application (.jar).
To generate the Java applet and the "Standard" Java application, select "Workshop - Java - Generate the Java archive",
for each one of the two configurations of project.
WD Java XML
WINDEV
WinDev lets you develop Java applications without being familiar with Java.
You develop easily using WLanguage and WinDev generates a Java application that can be directly executed.

This example shows how to use the XML functions in a WinDev Java project.
WD Progress Bars
WINDEV
This example presents the use of the progress bars in the windows.
This example explains how to display the different types of progress bars:
- Simple progress bar in a standard window
- Dual progress bar in a standard window
- Simple or dual progress bar in a specific window
Pocket Statistics
WINDEV Mobile
This example presents the WLanguage functions used to calculate statistics.
This example presents the following topics:
1/ Statistical Functions
2/ Matrices

Example Overview:
This program presents the statistical functions available in WinDev Mobile: "StatCorrelation", "StatAverageDeviation", "StatStandardDeviation", "StatMax", "StatAverage", "StatSum", "StatVarianceP", and so on.
Pocket Inventory
WINDEV Mobile
This example is used to perform inventories.
Summary of the example supplied with "WinDev Mobile":
This example presents the use of a HyperFileSQL database on Pocket PC.
This application is used to perform inventories and to save the results in a HyperFileSQL database.
WD Data Encryption
WINDEV
This example presents the different encryption methods available in WLanguage.
The following topics are presented in this example:
1/ encrypting and decrypting character strings
2/ encrypting and decrypting text files
Summary of the example supplied with WinDev:
This example presents the different methods for data encryption supplied with WinDev. When the example is started, you can choose to use the window presenting the encryption of character strings or the window presenting the encryption of files.
WD PDF Viewer
WINDEV
WinDev enables you to display a PDF document directly in an image control found in a window or in a report.
This example presents this feature in a window.
Several properties can be used in the image control to manage the display of the PDF documents:
- "PageNumber" that is used to find out and modify the page number of the PDF document displayed in the image control
- "NumberPage" that is used to find out the number of pages in the PDF document displayed
- "Zoom" that is used to find out and modify the zoom applied to the document displayed.
Furthermore, a simple click in the description window of the image control enables you to automatically manage the scrollbars and the zoom.
All you have to do is click "Automatic scrollbars and zoom" in the "Details" tab.
The user of the application can then use "Ctrl + Wheel" to perform a zoom on the PDF document, and scrollbars are automatically displayed if necessary.
Pocket Loan
WINDEV Mobile
The power of WinDev Mobile and the simplicity of WLanguage allowed us to develop this application in just 1 day!
This example is used to simulate loans and to:
- calculate the monthly payments from the amount of the loan
- calculate the maximum loan amount from a monthly payment
- calculate the income of an investment from a monthly deposit.
For each case, you have the ability to view the amortization table corresponding to your parameters.
Pocket Animated
WINDEV Mobile
This example explains how animated images can be created with WinDev Mobile.
This example presents the two following topics:
1/ Animated Drawings ('image to animate')
2/ One-Way and Two-Way Animations

Example Overview:
This example explains how animated images can be created with WinDev Mobile. This example does not illustrate all the possible features. Indeed, the different modes enable you to create over 2,000 animations. This example enables you to create animated images without any programming. Programmed animations are also available.

1/ Animated Drawings ('image to animate')
An 'image to animate' is a kind of 'animated drawing'. Several fixed images create an animation. These images are grouped in a single image. This single image contains a number of rows and columns. Just specify these settings to the 7-tab window as well as the duration between each image, and the image becomes animated.

2/ One-Way and Two-Way Animations
If no fixed images are available, WinDev Mobile enable you to scroll the image. Settings are defined in the 'Details' tab of the image description ('Animation'). You can define the direction, the speed, and so on. The different display modes enable you to create over 2,000 different animations.
Settings can be modified by programming with the WLanguage functions:
AnimationSetParameter()
AnimationGetParameter()
WD Video conference
WINDEV
This example uses the Conference control and presents the use of sockets via an instant messaging.
WD Video conference enables you to start a conference (sound + video) with a remote user. Furthermore, with instant messaging, you have the ability to send a file to your contact and to dialog with him.
webmillion_lite
WEBDEV
This example uses a data file containing more than 1 million records.
This example presents the following topics:
1/ Using queries
2/ Using "browsing" looper in automatic browse
3/ Using "browsing" loopers in manual browse


Example Summary:
This Web application developed by WebDev is used to display, find and order models.

WD Input Controls
WINDEV
This example shows how to handle input checks with WLanguage functions.

In this example, we will explain How to use string functions.

Overview:
This program, developed with WinDev, shows how to check data input: name, company, zip code, city, e-mail.
This example contains several reusable procedures.
WD Queries
WINDEV
This example presents the different report data sources.

In this example, we will explain:
1/ The different report data sources
2/ How to draw a chart in a report

Overview:
This example presents the different report data sources. Different reports are supplied: purchase order, product list, mailing, chart, bar code, and so on.

1/ The different report data sources
The different report data sources used in this example are:
- Report based on a memory table
- Report based on a memory zone
- Report based on a display
- Report based on a query
- Report of product labels with bar codes
- Report based on a text file (automatic or by programming)
- Report with parameters


2/ How to draw a chart in a report
The code required to create a chart in a report is identical to the one used to create a chart in a window (grCreate(), grAddData()). The only difference is that in Report Editor, we use a chart control while in a window, we use an Image control.

Note: The Chart control in Report Editor allows you to create a chart without writing a single code line. The data is taken from the report data source (query, table, file).
WD Search On Composite Keys
WINDEV
This example explains how the composite keys can be used to optimize your searches on the HyperFileSQL files.

Summary of the example supplied with WinDev:
This example explains how to use the filters or the searches on the HyperFileSQL files.
On the first tab, you have the ability to perform different searches and to view the result of your search. On the second tab, you have the ability to implement a filter by using the composite keys and to view the result issued from your filter.


WD Tables and Combos
WINDEV
This example shows how to insert images and RTF text into tables and combo boxes.

In this example, we will explain:
1/ Combo-Table
2/ RTF
3/ How to save an image in a Hyper File file


Overview:
This example uses a Product file. This file contains a description in RTF format and an image.
In the first part, a combo box allows you to select one product. The combo box contains the formatted text and the photo of the product.
In the second part, these products are displayed in a table.

1/ Combo-Table
A combo-table is identical to a combo box when collapsed. However, when expanded, it contains several columns. These columns can contain the following formats: text, RTF, image, switch. The combo box can be filled automatically. No code is required. Just connect each column to the file item or to the query.

2/ RTF
RTF is a format allowing text formatting (bold, color, font). Many objects can contain RTF text: edit controls, captions, table columns, combo boxes.

3/ How to save an image in a Hyper File file.
Every product in the example has its own photograph. However, no image file is supplied with the example. This one is in fact included in the Hyper File file. To do so, we use a binary memo column. The HAttachMemo() function enables you to include images in a Hyper File file
WD TreeView
WINDEV
This example shows how to use TreeView controls with WinDev.

In this example, we will explain:
1/ How to fill aTreeView
2/ How to manage a TreeView

Overview:
This example manages a stock of musical instruments. These instruments are grouped by category and by family. The TreeView is filled with the categories and their respective families.

1/ How to fill a TreeView
Use the WLanguage TreeAdd() function with the full path of the branch to be added. The default image for a node is a yellow folder. The TreeAdd() function allows you to customize the image of the collapsed and expanded nodes.

2/ How to manage a TreeView
A WinDev TreeView collapses and expands without code. A collapsed node is automatically preceded by a ‘+’ sign.
It can also have its own code in the event of a click or double-click. Accordingly, a WLanguage function can be called whenever the user collapses or expands a node. In this example, only the products corresponding to the category or to the selected family will be displayed.
Two check boxes in TreeView enable you to define the way products are displayed in the table.
WD User Groupware
WINDEV
This example presents the User Groupware included in WinDev.

In this example, we will explain:
1/ What is the User Groupware ?
2/ How to include the User Groupware in your applications
3/ How to configure the User Groupware

Overview:
This example present a set of features present in the User Groupware functions in WinDev. It uses an example of bank account management. Some users have only the right to consult accounts, others have the right to perform operations.

1/ What is the User Groupware
An application is often intended to be used by several users. It is often necessary to foresee various levels of accesses according to the user functions. Indeed, not all users have the same functions in a company, nor the same needs. Their user domain is, accordingly, more or less limited.
It can be very constraining to manage all the options in your own code. The User Groupware performs this task for you. You can define users, groups and rights granted to them. According to these rights, you can change the state (active, invisible, grayed) of your project controls.

2/ How to include the User Groupware in your applications
Check the option "Activate the User Groupware management" in "Project .. User Groupware".
Two User Groupware management modes are available:

- Automatic mode:
The login window is automatically added to your project. The login window is the first window to display when the application is launched, allowing the user to connect to the application. This window can be customized.

- Custom mode:
All the required windows (login window and user management windows) are automatically added to your project. The windows used by the User Groupware can be entirely customized.

3/ How to configure the User Groupware
To define the user rights, you must be connected as a SUPERVISOR (no password requird in this example). You can then list all users and associated them with groups (not mandatory). The user rights modification window contains a table with all the rights for the project controls. For each project control, you may then define its initial state (active, invisible, grayed) depending on the user or group.

Note: To simplify the use of this example, no password is required by the User Groupware accounts
WD OPC
WINDEV
This example presents the implementation of the OPC protocol in WinDev.
OPC means OLE for Process Control.
It's a standard implementation based on OLE/COM for managing physical devices (robots, alarms, captors, ...).
For more details, see the WinDev help or the following site: http://www.opcfoundation.org/
WinDev allows for data access through Automation or ActiveX (OPC DA Auto 2.0 specification).
The use of OPC in WinDev requires the use of an Automation object or of an ActiveX that serves as an OPC client layer.
This Automation object or ActiveX is usually provided by the manufacturer of the device.
Therefore, OPC in WinDev is implemented using the basic principle of object automation and ActiveX.
WebFleet
WEBDEV
This Web application simulates the management of computer fleet.
The following topics are presented in this example:
1/ the page templates,
2/ the queries,
3/ the dialogs with the user,
4/ the graphic representation of a geographical location (computers in this case).
WD Using Aliases
WINDEV
This example shows how to work with aliases on HyperFileSQL files: browsing a file with an alias and saving a file with an alias.

Overview:
Aliases are very useful in programming. They enable you to handle the same physical file with different logical names (this feature enables you to work with different HyperFileSQL contexts)
WWAjaxPhp
WEBDEV
WebDev enables you to easily generate PHP sites.
You develop in WLanguage.
No need to know the PHP, WebDev automatically generates the PHP for you.
WebDev also enables you to manage Ajax in PHP in just a few clicks.
This topic is presented in this example.
This site is an Ajax PHP site powered by WebDev.
It presents the Ajax tables and the Ajax loopers.
WD Flowchart
WINDEV
This example is used to create flowcharts.
A flowchart is used to indicate the repartition of the managers inside a company and the relationships that exist between these managers.
The drawing of the flowchart is managed by a class named <cFlowchart>. This class is used to centralize the information regarding the flowchart.
It is used to store the managers (or root contributors).
Each person found in the flowchart is represented by a <cPerson> object. This object manages its display in relation to the flowchart and stores the <cPerson> object representing the different hierarchical levels.
Each person can be manage:
- a group of assistants
- a group of subordinates
Only the assistants cannot manage other assistants.
We talk of contributors when several persons are found on the same hierarchical level.
For example, all the assistants of a person are considered as being contributors.
WD Java Drawing
WINDEV
This example explains how the drawing functions of WLanguage can be used to generate a Java application.
Indeed, the drawing functions are supported in Java.
The following topics are presented in this example:
1/ the creation of graphic shapes
2/ the creation of text in the graphic areas
Summary of the example supplied with WinDev:
The drawing functions of WLanguage are used in the "Image" controls.
The names of the drawing functions start with the letter "d" (dStartDrawing, dLine, dSlice, dText, and so on).
These functions allow you to highlight parts of a document scanned for GED (Electronic Document Management) or to write notes in an image sent by email.
WD Wizard
WINDEV
This example shows how to create a Wizard window with WLanguage functions.

In this example, we will explain:
1/ How to manage planes
2/ How to change a static caption

Overview:
This example shows how to manage a Wizard with planes and a class. The user is guided step-by-step when clicking the "Next" and "Previous" button
WW_WEB2
WEBDEV
This example explains how to use a system of Drag and Drop into a Web page.
In this case, a product coming from a looper will be moved to a basket (an internal page).
WebDev allows you to enter JavaScript code.
The management of Drag and Drop is performed via a set of browser procedures written in JavaScript.
The products added to the basket are stored on the server side via an AJAX button.
WD Loan
WINDEV
The power of WinDev and the ease-of-use of WLanguage have allowed us to develop this application within one single day!

This example enables you to simulate loans and to:
- calculate the amount of the monthly payments from the amout borrowed
- calculate the amount that can be borrowed from a monthly payment
- calculate the income of an investment from a monthly payment

For each case, you can print the depreciation schedule corresponding to your parameters.
WWConnec
WEBDEV
This site, powered by WebDev, is used to detect the closing of a client browser in order to save its disconnection or to perform specific operations.
WD Controlling OpenOffice Calc
WINDEV
This example explains how to control OpenOffice.org.

It gives you the ability to create, open and handle the workbooks opened in OpenOffice.org from a WinDev application.

You can position on a worksheet, select cells, read and modify their content, save the workbook and close it.

This example is supplied with 2 classes that can be easily reused.


WWTabulation
WEBDEV
This site is used to intercept the use of the [TAB] key in order to insert a tabulation into an edit control.
WD Controlling OpenOffice Writer
WINDEV
This example explains how to control OpenOffice Writer.

It gives you the ability to create, open and handle the documents opened in OpenOffice Writer from a WinDev application.

You can position on the document and move within the document, read and modify the content, save it and close it.

You also have the ability to perform a mailshot from your files described in the Hyper File analysis.

Several other features are also available such as the ability to control the properties of the character font, to insert an image or to replace a preset value.

This example, tested with OpenOffice version 2.0, is supplied with 2 classes that can be easily reused.


WD Java TreeView Table
WINDEV
WD JavaTreeView Table
WinDev enables you to develop Java applications without even knowing Java.
This example presents the management of treeview tables with WinDev.
This project enables you to generate a Java archive that can be run on all the platforms.
The treeview tables are used to combine the display of a treeview with a WinDev table.
This example presents the use of the TreeView Table control:
- Add/Delete/Modify branches in the treeview
- Collapse/Expand branches
- Etc...
WD Scanner - Twain
WINDEV
This example presents the management of TWAIN-compatible devices (scanner, webcam, digital camera, and so on).

Example Overview:
This example illustrates the use of TWAINxxx functions via a digitization application. This example enables you to:
- preview a part
- digitize a document (gif, jpeg, bmp formats)
- digitize a document and copy it to the clipboard
- digitize a document and print it
WW_CommercialSite_php
WEBDEV
This example of business site is a PHP site developed in WebDev.
The following topics are presented in this example:
1/ Using queries
2/ Using loopers
Summary of the example supplied with WebDev:
This PHP site, powered by WebDev, enables you to view, find and order models.
WD Evaluation period
WINDEV
This example explains how to limit the use of an application to a given period (evaluation period).
The following topics are presented in this example:
1/ the protection of an application for a given duration
2/ the management of the registry

Summary of the example supplied with WinDev:
When this example is started for the first time, it is activated for an evaluation period set to 5 days.
The information regarding the date when it was first started is stored in the registry and a control key is used to check whether this date was not modified by the end user. At the end of the evaluation period, the application is locked, unless the end user provides the code for unlocking the application


WW_Blogs_php
WEBDEV
This example is a PHP site for managing blogs.
A blog is a log or a diary on an Internet site.
It can be consulted by everyone and everyone can write his own comments.
The author of the blog writes messages whenever he wants to.
You have the ability to format the text, to include images, notes, and so on.
Furthermore, each blog can be exported in RSS.
WD Internet Search
WINDEV
This example presents the search for sites on Internet with the WLanguage functions.
The following topics are presented in this example:
1/ controlling a search engine
2/ using an ActiveX


Summary of the example supplied with WinDev:
WinDev gives you the ability to include a search engine connected to Internet in your applications.
This program, powered by WinDev, is used to control different search engines on Internet (Yahoo, Alta Vista, Voilà, Lycos, Excite, Google, and so on)

The result of the search is displayed via an ActiveX in a window developed in WinDev.

Technical constraint:
A connection to Internet is required


WWMenu
WEBDEV
This example presents a menu created in WebDev.
WebDev enables you to easily created menus.
These menus can be customized in the editor and by programming.
Furthermore, these menus can be in Ajax mode.
Which means that the entire page is not refreshed wen a menu option is clicked.
Only the data is refreshed.
It's faster and easier for the Web users!
The Ajax mode is supported by WebDev in a single click.
WD POP3
WINDEV
This example explains how to send and receive emails via the POP3 functions of WLanguage.
POP3 is the protocol for managing the emails.
The following topics are presented in this example:
1/ how to send an email via WLanguage and POP3 functions
2/ how to retrieve the emails stored on a POP3 server

Summary of the example supplied with WinDev:
It is a messaging application.
This application is used to include the management of the messaging to the business management.
For example, you will be able to send an email to a customer from your sales management by passing the attached document in parameter (proposition, invitation to a technical presentation, and so on).
This allows you to standardize the GUI of the different applications found in your company and to store the data in a single and unique format of database. It is HyperFileSQL in our case.
Several accounts are available. You also have the ability to create your own directory of contacts


WD Controlling Spreadsheets
WINDEV
This example explains how to control OpenOffice Calc and Excel with a generic code.
It gives you the ability to create, open and handle the workbooks opened in OpenOfficeCalc and Excel from a WinDev application.
You can position on a worksheet, select cells, read and modify their content, save the workbook and close it.
The use of an abstract class (CSpreadsheet) enables you to implement a unique code, regardless of the spreadsheet installed on the user computer
WD HTML Album
WINDEV
This example generates an HTML photo album.
This examples presents the following topics:
1/ How can I list the files found on a disk?
2/ How can I display the images in a ListView?
3/ How can I generate HTML code?

Example Overview:
This example generates an HTML photo album intended to be published on Internet. The album is generated form the image files found on the disk.
WD Controlling Outlook
WINDEV
This program, powered by WinDev, is used to read and write into the Outlook folders:
- Email
- Calendar
- Contacts
- Tasks
- Notes
Summary of the example supplied with WinDev:
An OLE dialog is used to read and write the data into the Outlook files.
Note: We will be using the Outlook software supplied with the later versions of MS-Office. The software used is not "Outlook express".
WD Closing Windows
WINDEV
This example presents the WLanguage functions used to close Windows.

Example Overview:
This example explains how to close the Windows session, stop the system and restart the PC with SysShutdown
AfterSalesService_Php
WEBDEV
This example is a PHP site built using WebDev.
This simplified site lets you manage an After Sales Service:
- Manage the problems reported by users
- View the problems by author, supervisor ...

WD File Synchronization
WINDEV
This example shows how to synchronize two file directories in WLanguage. After synchronization, the destination directory is identical to the source directory. The comparison is based on files and on file dates. This can be very useful for backup management.
In this example, we will explain how to work with file functions.

Overview:
Select a source directory containing the files to backup and a destination directory where these files will be saved. Synchronization is launched. The application compares the content of the two directories.
If a file is missing, if the source directory is more recent… then the file is updated in the backup directory.

How to compare the content of two directories
In this example, we use the WLanguage fListFile() function. This function allows you to browse the files of a specified directory. For each file found, a specific procedure written in WLanguage is called up.
With this procedure, the current file can be easily processed. In our case, we fill in a table with the file path, its date and modification time (fDate() and fTime() functions).
Two memory tables are used. The first one contains files of the source directory, the second one contains files of the destination directory. These two tables are sorted, which allows processing optimization. Comparison of these two tables allows an identical copy to the original.
Examples:
- If the date and time do not match, the source file is copied to the destination directory with the WLanguage fCopyFile() function.
- If a file is present in the destination directory but not in the source directory (because it has been deleted since the last synchronization), then it will be deleted.

The destination directory is a “mirror” of the source directory. By applying this application to scheduled tasks, your backups are always updated.

WD FTP File Transfer
WINDEV
This example shows how to use WinDev FTP functions to transfer files between a remote workstation and a local workstation.

Overview:
This example is a fully functional FTP server. It can store FTP server addresses and settings. Several files can be transferred from a local workstation to a remote workstation. Only WLanguage FTP functions will be used (FTPConnect, etc...).
PC Beach
WINDEV
This example is used to manage the bookings for one or more private beaches.
Furthermore, this application is supplied with a Pocket PC application that enables you to make bookings.
The Hyper File data files found on PC can be synchronized with the Hyper File Mobile data files found on Pocket PC (and conversely).
WD Java Chart Designer
WINDEV
WinDev enables you to create Java applications without even knowing Java.
You program with a 5GL (WLanguage) and WinDev generates the Java code.
The drawing functions of WinDev are available in Java generation.
This example explains how to create charts with these drawing functions.
Three types of charts are presented in this example:
- the bar chart,
- the scatter chart,
- and the line chart.
WD Drag and Drop Windows
WINDEV
This example shows how to drag and drop files between Windows Explorer and a WinDev application.

In this example, we will explain:
1/ How to manage multiwindowing
2/ How to handle images
3/ Drag and Drop with Windows Explorer

Overview:
This example shows how to catalog images with WinDev. To post the images, select the files (BMP, GIF, JPG) on disk with a file picker or drag and drop them in the application with Windows Explorer.
Pocket Beach
WINDEV Mobile
This example is used to manage the bookings for private beaches from a Pocket PC
This example is intended for Pocket PC. It is used to manage the bookings for private beaches. It is supplied with a Windows example that is used to synchronize the bookings.
WD Thread Pool
WINDEV
WD Pool of threads
This example presents the use of the threads with the WLanguage functions.
The following topics are presented in this example:
1/ Running processes started in parallel (threads)
2/ How to limit the number of threads in execution at a given time
Summary of the example supplied with WinDev:
Reminder: a "thread" is a process started in parallel of the current application (main "thread").
You can for instance start the execution of a task in background process (backup, and so on).
The threads are very useful in the industrial field: supervisor, applications with real-time control of processes,…
Pocket Stocks
WINDEV Mobile
This example is used to perform stocktaking and to create entry forms or exit forms.
It is supplied with a an example named PC Stocks that is used to manage the stocks.
Summary of the example supplied with "WinDev Mobile":
This example presents the use of a HyperFileSQL database on Pocket PC.
This application is used to perform stocktaking and to save the results in a HyperFileSQL database.
The viewing of the Stocks is performed via the Windows example (PC Stocks).
WD External file
WINDEV
This program, powered by WinDev, explains how to handle files not described in the analysis.
You have the ability ot use the WLanguage functions named HDeclare or HDeclareExternal.
The differences of behavior regarding these two declaration modes of the file are highlighted in this example.
WD Multi-Windowing
WINDEV
This example presents the management of multi-windowing in WinDev.
Summary of the example supplied with WinDev:
This example presents the management of the MDI functions used on a "Customer" file. Each customer form can be opened in an MDI window by the WLanguage function named MDIOpen and the concept of independent HyperFileSQL context.
WWOrganizer
WEBDEV
The WWOrganizer project explains how to retrieve the parameters passed, via PageParameter().
These parameters are passed by the WWParam project.
WW_LPCHART
WEBDEV
WW_LOOPChart
This program, powered by WebDev, explains how to mange the loopers containing dynamic charts.
This example uses an invisible image control to dynamically generate the chart corresponding to each row.
WWParam
WEBDEV
This example explains how parameters can be passed in command line to a WebDev application.
The WWOrganizer project explains how to retrieve the parameters passed, via PageParameter().
WWDialog
WEBDEV
WebDev enables you to create outstanding dialog boxes.
To do so, use the following WLanguage functions: «Confirm», «OKCancel» and «YesNo» (also available in server code).
The DDW feature is also available for these dialog boxes.
The DDW feature is used to dim the disabled windows and pages.
Which means that the background page is grayed when a dialog box is opened.
Furthermore, you have the ability to customize these dialog boxes.
This example presents the automatic dialog boxes and the custom dialog boxes.
Pocket Attendance
WINDEV Mobile
This application is an attendance manager. It enables you to list the persons who attended a meeting.
The database is previously filled with the list of registered persons.
A bar code reader can be used to read the identifiers of the persons.
The following topics are presented in this example:
1/ the click performed on a table column
2/ the use of a browsing table
PC Stocks
WINDEV
This example is used to manage stocks.
It is provided with an example used to enter the entries and the exits via a Pocket PC.
Summary of the example supplied with "WinDev Mobile":
This example presents the use of a HyperFileSQL database on Pocket PC with a WinDev application.
The Pocket PC example (Pocket Stocks) is used to check the inventories as well as the entries-exits, and to save the results in a HyperFileSQL database.
The viewing of the Stocks is performed via this example.
A synchronization can be performed to retrieve the results entered on the pocket PC and to add new products as well as to view the products and the stocks.
WD Lasso
WINDEV
This program, powered by WinDev, uses a selection lasso in an image control to perform a zoom in a preview control.
The CLasso class is supplied with this example in order to facilitate the implementation of a selection lasso in a WinDev application
WD Controlling Word
WINDEV
This example explains how to control Word via OLE Automation.
All the features included in Word can be emulated.
This example is compatible with the versions 97, 2000 and 2002 (XP) of Word.
Summary of the example supplied with WinDev:
Controlling a text processor as Word may be useful to allow the user to keep his own habits from the software powered by WinDev.
This process is very easy via the "CWord" class supplied with WinDev.
The main features of Word can be directly called (text formatting, inserting objects, mailshot, and so on).
How do I control Word via OLE Automation?
An OLE Automation contains methods and properties. This enables you to emulate it directly in WLanguage.
For example, to write the selected text in bold:
MyOLEAutomationObject>>Selection>>Font>>Bold = True
WWPocket
WEBDEV
This example is a site that can be viewed on a Pocket PC. The site detects the resolution of the user and displays the pages consequently.
PC CDB Browser
WINDEV
The "PC CDB Browser" example is used to access the databases found on the Pocket PC (.cdb format).
This example enables you to access:
1. The standard databases of the Pocket PC: task list, appointments, and so on
2. The databases in cdb format found on the Pocket PC.

This example uses the cexx and cdbXX functions to access the data found on the Pocket PC. A connected Pocket PC is required to use this example


WD ViewTIF
WINDEV
The WD ViewTif example is a small image editor powered by WinDev. It is used to view the images in TIF format.
The TIF format is multi-page. WD ViewTif is used to open an image and to display the different pages of the image:
- either in MDI mode (in several child windows),
- or in slide show mode.
This example is supplied with a multi-page TIF file.
WD Shipping costs
WINDEV
This example explains how to calculate the shipping cost of a parcel, according to the price list and to the product weight stored in a HyperFileSQL database.
The following topics are presented in this example:
1/ the use of queries on the HyperFileSQL files
2/ the use of memory tables
3/ the management of an agent in an application


Summary of the example supplied with WinDev:
This example uses the queries to calculate the shipping cost of a parcel in a country according to its weight and according to the price list proposed by a carrier


WD Managing the Java errors
WINDEV
WinDev enables you to develop Java applications without even knowing Java.
You benefit from the power and from the automated processes of the WinDev environment.
One of the most useful automated processes is the automatic management of errors.

This example presents the operating mode and the implementation of the mechanism for managing the WinDev errors.
Some illustrations allow you to understand the simplification performed when implementing this feature.
This project is configured to generate a Java archive.
WD Using DotNET classes
WINDEV
This example enables you to use the .NET classes in WLanguage
In this example, we will be using:
- the String class that is used to handle the character strings (switch to lowercase/uppercase characters, count the number of characters, and so on)
- the MessageBox class that is used to create custom dialog boxes (ability to choose the text, the icon and the buttons).
These two classes come from the mscorlib.dll and System.Windows.Form.dll assemblies.
Summary of the example supplied with WinDev:
This example is used to:
- analyze a character string (number of characters, number of words, replacement of characters, and so on)
- configure the dialog boxes (buttons, icon, text). The name of the button selected by the user is automatically displayed.
WD Zip
WINDEV
This example presents the use of the archiving functions with compression.
The following topics are presented in this example:
1/ How do I create an archive?
2/ How do I compress and uncompress files?
3/ How do I manage the Drag&Drop from the file explorer of Windows to a TreeView control?

Summary of the example supplied with WinDev:
This example allows you to create and read the archives compressed in WDZ, ZIP, CAB and RAR format (in read-only). This feature can be very useful to manage the automatic backups. Furthermore, the example allows you to create multi-volume archives.


WD Export table
WINDEV
WD Table export
This example explains how to export the data found in a table with the WLanguage functions.
The following topics are presented in this example:
1/ interfacing Word and Excel
2/ sending data to the clipboard
3/ generating a text file
Summary of the example supplied with WinDev:
This example explains how to export the content of a table to a Word document, an Excel worksheet, the clipboard or a text file via the WLanguage functions: TableToWord, TableToExcel, ToClipboard and fWriteLine.
WW_Images_php
WEBDEV
This example is a PHP site powered by WebDev.
It is a simplified photo and image gallery.
The images found in the "Data" directory of the "Exe" directory of the project are displayed as thumbnails in an horizontal scrolling list.
They can also be viewed in real size.
WD Mailshot
WINDEV
This example explains how to perform a mailshot with WinDev.
Summary of the example supplied with WinDev:
This example allows you to enter the subject of the message, its content and its attachments.
The user must then select the customers to which the message must be sent.
The WLanguage function named EmailSendMessage() enables you to send the message to all the selected customers.
Technical implementation:
An email server compatible with the POP3/SMTP protocol must necessarily be accessible from the computer where the application is run.
WD Managing a computer fleet
WINDEV
This example presents the management of a computer fleet with WinDev.
The following topics are presented in this example:
1/ the printed reports,
2/ the graphic representation of the location of the computer,
3/ the automatically filled combo boxes.
Summary of the example supplied with WinDev:
This example is used to manage a computer fleet.
For each computer, you will be able to define its characteristics, its components, the person who is using it as well as its location in the offices.
WD Controlling Excel
WINDEV
This example explains how to control Excel via OLE Automation.
All the features included in Excel can be emulated.
This example is compatible with the versions 97, 2000, 2002 (XP) and 2003 of Excel.
Summary of the example supplied with WinDev:
Controlling a spreadsheet as Excel may be useful to allow the user to keep his own habits from the software powered by WinDev.
This process is very easy via the "CExcel" class supplied with WinDev.
The main features of Excel can be directly called (chart, inserting objects, sorts, and so on).
How do I control Excel via OLE Automation?
An OLE Automation contains methods and properties. This enables you to emulate it directly in WLanguage.
For example, to display the selected cell in bold:
MyOLEAutomationObject>>Selection>>Font>>Bold = True
WW_XMLRestock
WEBDEV
This example presents the use of the XML files with WebDev (to store the details of an order for instance).
You have the ability to modify the quantities ordered, validate your order and save the order in XML format. This allows you to place delayed orders.
WD Java Threads
WINDEV
This Java example presents the use of threads.
Critical section, semaphore, all the main points regarding the multi-thread development are explained here.
This example was developed without having to know Java!
Pocket TodayScreen
WINDEV Mobile
This example presents the use of a Today Screen.
This Today Screen is used to display a clock.
A button is used to set an alarm.
> To install this example on your Pocket, select "Workshop .. Today Screen .. Create the setup procedure".
> To enable the Today Screen on your device:
- Choose Parameters from the Start menu.
- Select "Today".
- Display the "Elements" tab and check the Today Screen that must be displayed ("Pocket TodayScreen" for this example).
See the help for more details ...
WD Bluetooth
WINDEV
WinDev provides you with some Bluetooth management functions.
All types of Bluetooth devices can be managed from your WinDev applications: cell phones, printers, speakers, and so on.
This example presents the use of these Bluetooth functions:
- to list the accessible Bluetooth devices
- to list the services proposed by a device
- to connect to a Bluetooth device
- to send a file to a device via the "OBEX" functions of WLanguage.
WD RemoteControl
WINDEV
This example is used to implement the remote control of a WinDev application.
This control is used to inform the users of the application closing, to prevent new users from connecting and to close the application.
This mode must be reserved to the administrator of the application.
Important: to run the test of this example, it must be deployed as "Setup with network update".
PC Photo Album
WINDEV
The PC Photo Album example is used to import and export the photos of a Smartphone or Pocket PC from the PC.
A listview is used to preview the photos found on the Smartphone and on the Pocket PC.
WWDLoad
WEBDEV
This site, powered by WebDev, is used to propose files available for download to the users according to the group to which they belong.
WW_ConfigurableFlash
WEBDEV
This example supplies customizable Flash banners as supercontrols.
- The example allows you to modify the texts of the banners and to view the result immediately.
- The procedures allowing the modifications are included in the supercontrols and they require no modification when they are used in a new project.
WW_Schedule
WEBDEV
This example is used to dynamically display the tasks of the different contributors.
You have the ability to add, modify or delete tasks by clicking the schedule elements.
All the operations are performed via AJAX.
This example is also used to move a control by programming.
Sales Management
WINDEV
The Sales Management application covers the following topics:
1/ a complete sales management (Customers, Suppliers, Products, Quotes, Invoices, Shipping, and so on)
2/ the use of HyperFileSQL functions and the use of queries
3/ complex reports
4/ the selection of products via a bar code reader
WD Generating data
WINDEV
This example is used to generate realistic test data in order to run the test of your applications.
The following topics are presented in this example:
1/ handling files external to the application
2/ managing planes
Summary of the example supplied with WinDev:
If you do not want to run the test of your application on live data or if you create new files, the generation of test data files can be very useful.
The files being filled, the data can be directly displayed when creating your windows via the "live data".
The WLanguage functions allow you to easily handle the analyses and the files from other applications.
HDeclareExternal can also be used to temporarily import a file description and to handle it in a totally transparent way.
By defining a work session, you will be able to generate random or consistent data such as a Customer file.
WW_AWPShowroom
WEBDEV
This example is used to mix a standard dynamic WebDev site and a WebDev AWP site.
- The AWP pages of the site will be referenced by the search engines.
They mainly contain the products classified by department.
- The dynamic pages are used to manage the orders and the information about the customers. This information must not be referenced by the search engines.
WD Live Messaging
WINDEV
This example presents the new "Socket" functions of WinDev.
The following topics are presented in this example:
1/ How to connect to a socket
2/ How to create a socket
Summary of the example supplied with WinDev:
This example present the different functions for socket management supplied with WinDev. To use this example, a list of contacts must be entered in your address book. The contacts must be identified by a name and the IP address of their computer. When the application is started, the program searches for the accessible contacts (I.e. the ones who have started this application on their computer). When you double-click a "connected" contact, a discussion window is opened, giving you the ability to communicate with the contact
WD OLEDB
WINDEV
This example presents the access to a database via OLE DB with the WLanguage functions.
The following topics are presented in this example:
1/ the independence between your applications and the database
2/ the connection via OLE DB
Summary of the example supplied with WinDev:
This example explains how to create an application independent of the database used.
The same application with the same source code accesses a HyperFileSQL file or an Access database via OLE DB.
According to this principle, your applications will be able to access all the databases.
WD ClickableReports
WINDEV
WinDev gives you the ability to create reports that are real GUI, via the click in the reports.
When previewing the report that groups the 100 best customers, you have the ability to open the list of orders placed by each customer.
Our example is used to list the customers and to print this list of customers.
In the print preview, a click performed on the name of a customer will open the form of the selected customer.
WD Multimedia
WINDEV
This example explains how to play videos (AVI, MPEG, and so on), sounds (AUDIO CD, MP3, WAV) and animations (Flash) with the WLanguage functions. The following topics are presented in this example:
1/ how to handle the sounds and the videos in WLanguage
2/ how to exploit a "Flash" animation
3/ how to clip windows
4/ how to manage a playlist
5/ how to generate playlists with the XML functions
Summary of the example supplied with WinDev:
This example is used to read all types of multimedia files. It manages a playlist that can be modified, saved and opened.
This example helps you include multimedia resources in your applications.
Pocket RTF
WINDEV Mobile
This example presents the display of the RTF format in the edit controls in mobile.
WinDev Mobile allows you write text in RTF format into the edit controls.
This is very useful to format and to view the data.
WWBrowserDialog
WEBDEV
This example presents a dialog between two distinct browsers. It is used to open a new page in a new browser and to retrieve the modified values.
WD Service Configuration
WINDEV
This example is used to configure the WinDev service named WD NT Service.
It can be adapted to configure a custom service.
Summary of the example supplied with WinDev:
A service is a resident program that can operate outside a Windows session (the application is started before the Windows "Login").
In most cases, this type of application has no interface (no window)
For example, a service can be a process robot (automation of a batch process).
This example explains how a 'Service' program can be created in WinDev.
WD JAVA Calls
WINDEV
WD JAVA Calls is an example containing two configurations of project:
- A "Windows Application" configuration that is used to create the executable of the application
- A "Java Application" configuration that is used to create the Java archive (.JAR) of the application
This example is supplied with a JAR archive named "JavaFunction" external to the application.
It presents the call to the methods of classes of this JAR archive via the WLanguage function named JavaExecuteFunction.
This example also explains how a memory table can be filled (identical in Java mode and in Windows mode)
WD NT Service
WINDEV
This example presents the creation of a "service" application with WinDev.
The following topics are presented in this example:
1/ creating a service with WinDev
2/ managing the registry and the .ini files
3/ using the system functions
Summary of the example supplied with WinDev:
A service is a resident program the can operate outside a Windows session (the application is started before the Windows "Login").
In most cases, this type of application has no interface (no window)
For example, a service can be a robot for processes (automation of a batch process).
This example explains how a 'Service' program can be created in WinDev.
WD Outlook
WINDEV
WinDev gives access, in native mode, to your contacts, your tasks, your emails and your calendar in Outlook.
This program, powered by WinDev, explains how to read and write in the Outlook folders:
- Email
- Calendar
- Contacts
- Tasks
This example is designed to operate with the standard version of Outlook supplied with Office.
The default email application is selected via the Internet options of the control panel of Windows.
In order for the messages to be automatically sent and received in the WD Outlook example,
you must check, in the options of Microsoft Outlook, "Send the messages immediately"
and "Check the new incoming messages every x minutes".
WD DuplexPrintout
WINDEV
This example presents a solution for duplex printout that can be disabled, which means that the reverse sides may not be printed.
In this example, the general sales conditions will be inserted into a report by using the principle of block substitution.
These general conditions are inserted between each page.
The example allows you to print:
- in duplex mode if the printer supports it,
- on the front side of pre-printed sheets for which the general sales conditions are printed on the back side.
PC Explorer
WINDEV
This example allows you to view files found in a Pocket PC.
It also allows you to copy files from your PC to you r Pocket PC and vice versa.
Main topics:
- the file management functions of a Pocket PC and a PC (copy, delete, create directory...)
- using a cache to optimize the display time
WD Answering Machine
WINDEV
This example uses the telephony features to manage an answering machine.
This program, powered by WinDev, allows you to understand the use of the telephony functions for an answering machine.
This answering machine can be interrogated and configured (welcome message) remotely via a menu.
PC Registry
WINDEV
Pocket Managing Contacts
WINDEV Mobile
This example presents the management of contacts in Pocket PC.
The following topics will be presented in this example:
1/ the loopers
2/ the use of queries
3/ sending SMSs
4/ sending emails
5/ the phone call.
WW_Frames
WEBDEV
This example explains how to modify two different frames without redisplaying the entire frameset.
The following mechanism is used:
* The server code of the initial button performs the modifications on each one of the target pages then it refreshes the first one of these pages.
* The Onload code of this page will refresh the next page, and so on.
To understand this example project, you must study the code of the buttons found in the left frame and the OnLoad code of the other frames (pages).
The OnLoad code of the page uses an invisible edit control and an invisible button.
- the button contains the server code used to refresh the next page
- the invisible control contains the name of the page and the name of the frame to refresh.
When the frameset is displayed for the first time, this invisible control is empty. This control is filled by the buttons found in the left frame.
WD Telephony
WINDEV
This example presents the telephony functions of WinDev.
The following topics are presented in this example:
1/ How to dial a phone number
2/ Detect and identify the incoming calls
Summary of the example supplied with WinDev:
This example presents the telephony functions supplied with WinDev. Once contacts have been entered in the main window (the table is in edit), you will be able to call them from the application directly (your computer must be equipped with a modem properly installed). You will be able to get a notification for the incoming calls and to identify the caller
CRM
WINDEV
This example is an application for customer management.
The following topics are presented in this example:
1/ a full analysis of customer management (Customers, Suppliers, Products, Estimates, Invoices)
2/ the use of the WinDev controls:
- Conference control
- Bar Code control
- Splitter control
- SideBar control
- ListView control
- Multi-cell status bar
- Popup combo boxes and windows
- Calendar control

3/ an implementation of some WLanguage functions
- StreamXXX functions
- New EmailXXX functions
- ...
Summary of the example supplied with WinDev:
This example is used to manage the customers, to place orders, to create estimates and to manage a task list and a schedule.
Furthermore, the powerful controls supplied with WinDev allow you to implement features such as the video-conference or the management of bar codes.
WD Magnifier
WINDEV
This example enables you to zoom part of the screen with a magnifier.
The maximum zoom value is set to 8.
Summary of the example supplied with WinDev:
The WLanguge function named dCopyBlt() and the WLanguage property named ..Opacity allow you to perform a capture of the Windows desktop at the location of a window without this window appearing in the screen shot.
This example uses this tip to zoom the part of the screen found below the magnifier.
WD POP3Proxy
WINDEV
This example presents a POP3 proxy. A proxy is a program that connects to a server on behalf of another program.
You can use a proxy to isolate a local network from Internet for security reasons for instance.
Only the machine hosting the proxy is linked to the Internet and users access the email server through the proxy.
In this example, the proxy is used to automatically archive into a Hyper File database the emails retrieved.
Several additional features can be built in this application: automatic spam filtering, email statistics...
WD Lock
WINDEV
This example shows how to use the automatic application locking functions.
WD RSS Reader
WINDEV
WD RSS Reader is a simplified example of RSS reader.
The RSS streams can be classified by category.
This example presents the types of variables used to manage the RSS stream: rssStream, rssChannel, rssEntry, and so on.
== What is RSS?
It is a specific text file whose content is automatically created according to the updates of a Web site. This content is chosen by the producer of the stream. In most cases, it contains the titles of the updates ("new bargain" for instance), the corresponding hypertext links and the descriptions of these updates ("Special offer on memory during three days. Order now!").
RSS is a convention for structuring the files that were just described so that they can be distributed in a format that can be easily understood by everyone (we talk of "content syndication"). Therefore, a Web master may decide to import the content of the "RSS stream" into his own Web page, and anyone can receive in his mail box or via a dedicated software the last updates of a site allowing the diffusion of its content "in RSS".
wwflash
WEBDEV
This site built with WebDev allows you to include a Flash pull-down menu that interacts with WebDev.
This site lets you use Flash animations in a WebDev site.
This site also shows the interaction with a Flash animation.
WD HTML Page Import
WINDEV
This example explains how HTML pages can be imported with the WLanguage functions.
The following topics are presented in this example:
1/ how to import an object found on a Web site
2/ how to analyze an HTML file
Summary of the example supplied with WinDev:
This example is used to save locally an HTML page found on a Web site.
This page is analyzed in order to import all its dependencies (images, applets, and so on). This example is not a Web grabber. It can only be used to download the pages one by one.
The principle used in this example can also be used to retrieve informations from pages whose format is recognized (example: daily retrieval of share values)
NETAdverts
WEBDEV
This example is a site for managing classified adverts.
Multi-criteria searches, addition, modification and deletion of adverts as well as management of users.
WW_WIKI
WEBDEV
This example is a manager of WIKI documents.
A WIKI document can be modified by all the persons who can access this document.
Everybody can add his own contributions.
A WIKI document is formatted according to a specific rule.
The formatting of the text is delimited by tags
WD Printout Parameters
WINDEV
This example presents the function named iParameter and its new syntax.
This function is used to retrieve the different parameters defined for a specific printer. The printer used is defined by iConfigure(Printer Name)
The new syntax of iParameter:
Retrieving a parameter
The paper orientation is retrieved via the following syntax: iParameter(iOrientation)
Assigning a parameter
To switch to landscape mode, use the following syntax: iParameter(iOrientation, iOrientation_Landscape)
This example enables you to modify different parameters:
- The paper orientation
- The scale
- The management of the TrueType fonts
- The number of copies
- The management of the color
- The duplex
- The style for sheet output (by copies or by page number)
The default parameters of the printer can be modified in Windows.
Caution: these parameters will be used in all your applications.
Managing the network printers:
Before you modify the default parameters of a network printer, make sure that you have the rights to "Manage the printers". Otherwise, the modifications will be ignored.
WD Text Files
WINDEV
This example presents the access to external files (text or binary files) from a WinDev application
WWSlide
WEBDEV
This site, powered by WebDev, is a slide show of photos from Cantal (15).
The specific features of this example are:
- the file upload,
- the automatic management of thumbnails via the thumbnail control,
- a bowser timer that allows you to view the photographs in automatic mode.
WW_CloudTags
WEBDEV
This example explains how to display a cloud of tags in a dynamic WebDev application.
Indeed, on Internet, a site page responds more or less to a set of keywords.
The purpose of this example is to explain how to display the keywords of a site in an area of the page by indicating the important keywords graphically.
The keywords are represented as links of different sizes: a larger font it assigned to the most important keywords.
Pocket Managing Orders
WINDEV Mobile
The Pocket Managing Orders example is a simplified management of orders and invoices.
This example is used to:
- create, modify or delete a product,
- create, modify or delete a customer,
- contact a customer by email,
- view the history of the actions performed for a customer,
- place an order, print an order form,
- invoice an order, print an invoice.
WWLooper
WEBDEV
This program, powered by WebDev, presents the most common cases for using loopers.
The following topics are presented:
- Sending an email dynamically,
- Displaying the images found a HyperFileSQL file,
- Displaying the images found in a specific sub-directory,
- Displaying the data coming from a SQL database,
- Modifying the color attributes of a control,
- Transferring information between two loopers.
WD Managing orders
WINDEV
The WD Managing Orders example is a simplified management of orders/invoices.
This example is used to:
- create, modify or delete a product,
- create, modify or delete a customer,
- contact a customer by email,
- view the history of the actions performed for a customer,
- place an order, print an order form,
- invoice an order, print an invoice, automatically email an invoice to the customer in PDF format.
WW_Highlight
WEBDEV
This example explains how CSS can be used to frame and highlight words in an HTML static (or in an HTML control).
A set of procedures is used to manage the highlighting styles (border, font, color) by programming.
Note: this highlighting method is used on the developer forums of PC SOFT (http://forum.pcsoft.fr).
WD Java Client
WINDEV
This example is a Java application developed by WinDev.
Indeed, WinDev enables you to develop Java applications without even knowing Java.
You can easily program in WLanguage.
An you create nice interfaces, even in Java.
This example presents:
- the Hxxx commands supported in Java on HyperFileSQL (the Hxxx commands are also available in Java on MySQL and SQL Server)
- the controls with file links
To generate the Java executable, select "Workshop - Java - Generate the Java archive".
WWEnvironment
WEBDEV
This site allows you to use the environment variables in order to retrieve information regarding the Web users.
You have the ability to retrieve the IP address of the Web user, his resolution or his browser.
This enables you to perform traffic statistics for your site or to display a different version of your site according to the resolutions.
You also have the ability to retrieve information about the server such as the operating system, the IP address or the name of the server.
WW_ChangeCSS
WEBDEV
This example explains how to modify the style sheet of a WebDev page by programming.
The change of style sheet is performed in browser code.
This principle can be used to change the interface of a site according to the preferences of the Web user.
WD DOTNET WMI
WINDEV
WMI (Windows Management Instrumentation) allows for an exhaustive management of devices. WMI can be compared to a database that groups multiple pieces of information about a computer.
You can list the installed devices (network, video cards, processors) as applications (of the operating system).
The information found in WMI is exported through schemas. These schemas can be close to an object type architecture.
Three main schemas provide the backbone of WMI:
- NameSpaces
- Classes
- Instances
A namespace is a group of classes organized by category and/or type of information processed. Each namespace has its own classes.
A class is made of properties and methods. These can be local or inherited.
Each class owns 0 or more instance(s). The actual pieces of information (name of the network card) are retrieved by using the instances.
The implementation of WMI with .NET is done through the "system.management" assembly. This assembly export objects that easily manage the WMI classes.
The .NET WMI example has two operating modes:
- A simple mode
- An advanced mode
NB: The .Net FrameWork must be installed in order to use this example.
WD Table Breaks
WINDEV
This example presents the use of "breaks" in a table.



WWTabControl
WEBDEV
The «Tab» control is also available in WebDev.
This control is presented in this example.
To add a "tab" control to a page, all you have to do is drag the control from the "controls" toolbar and drop it at the requested location in the page.
Then, the description window of the control enables you to define all the characteristics of the control.
You have the ability to define the different panes as well as their caption, their style, and so on.
Everything can be customized!
Then, all you have to do is position your controls in the different panes.
WD TreeView Table
WINDEV
The treeview tables are used to combine the display of a treeview with a WinDev table.
This example presents the use of the TreeView Table control:
- Add/Delete/Modify branches in the treeview
- Collapse/Expand branches
- Etc...
WD Advanced Reports
WINDEV
This example presents the different reports available in Windev.
Overview:
This program presents the new features of Report Editor: internal reports, chart controls, and possibility to print to a RTF, HTML or PDF file.
Pocket Persistence
WINDEV Mobile
This example presents the use of the functions named InitParameter, LoadParameter and SaveParameter.
These functions are used to configure the backup of controls, variables and other parameters.
This example is divided into three parts:
- The configuration
- The manual management of variables (SaveParameter and LoadParameter)
- The optimization
1°) Configuration

The configuration window enables you to modify the location of the backup of parameters (registry, INI file) as well as its path (registry key or file path).
2°) Manual management of the variables
The manual management enables you to save the content of the variables via SaveParameter and to restore them via LoadParameter. Each parameter is identified by a name. These values are saved at the location defined in the configuration window.
3°) The optimization
This window explains how to optimize your code to avoid the slowness caused when the saved values are restored. Indeed, when restoring the value of a control, its modification code is run. If you have long processes (queries with parameters for instance), this window shows you how to speed up the loading of the window.
Pocket Financial Functions
WINDEV Mobile
This example presents the use of the financial functions on a Pocket PC.
Summary of the example supplied with WinDev Mobile:
It enables you to calculate the number of repayments for a loan, the total cost of a loan or the benefits coming from an investment.
WD Who's locking
WINDEV
This example explains how to signal to the users of a HyperFileSQL database in network "who" is locking an inaccessible record.
The following topics are presented in this example:
1/ the management of concurrent accesses
2/ the automatic refresh by timer
3/ the management of a "system" file to store information about the locks.
Summary of the example supplied with WinDev:
This example, powered by WinDev, is made of 2 projects:
- WD Who is locking: test application that manages a "client" file in network
- WD Supervisor of locks: administration tool used to view the existing locks and to force the unlocking if necessary.
An edit form may have been left opened by a user for a long time: the other users cannot access this form.
The 'Please free' button is used to send a message to the relevant user, asking him to free the record.
The 'Unlock!' button is used to force the unlocking of the record.
Caution: This operation will send a message that forces the closing of the application that performed the lock.
PC UNICODE Socket
WINDEV
This example presents the operating mode of sockets with the Pockets PCs.
It is a mini text messaging to which the Pocket PCs connected to the current computer can connect.
Each one of the Pocket PCs can send a message (via the Pocket UNICODE Socket example).
This message is necessarily sent in UNICODE format.
The application explains how to handle a Unicode string when receiving the message in order to display it in a table.
WD Screen Saver
WINDEV
This example illustrates the creation of a screen saver with the WLanguage functions.
The following topics are presented in this example:
1/ the periodic call to a procedure ("timers")
2/ the management of Windows events
3/ the system functions (call to Windows APIs)
To use the screen saver:
- Rename the executable (.EXE) to .SCR
- Copy the file to the directory of Windows (Ex: C:\WINDOWS)
- Open the window for the display properties of the desktop
- Choose the "Screen Saver" tab
- Select the screen saver generated by WINDEV
WEBESTATE
WEBDEV
The following topics are presented in this example:
1/ the use of page templates
2/ the management of a cart
3/ the secure payment
4/ the AWP mode without context
Pocket Unicode Socket
WINDEV Mobile
This example presents the operating mode of sockets with the Pocket PCs.
It is a messaging application for which:
> the WinDev application represents the server of messages.
> the Pocket PC applications represent the client.
Each one of the Pocket PCs can send a message (via the Pocket UNICODE Socket example).
This message is necessarily sent in UNICODE format.
The application explains how to receive a message in UNICODE string and how to display it in a table.
It is supplied with a WinDev example.
WD Euro Calculator
WINDEV
This example explains how to create a multi-currency calculator (Euro area) with the WLanguage functions.
The following topics are presented in this example:
1/ the automatic management of dual input and multi-currency display
2/ the Euro & multi-currency functions
Summary of the example supplied with WinDev:
This calculator is used to perform simple calculations and multi-currency conversions.
You have the ability to modify the exchange rates of 6 main currencies.
Pocket Telephony
WINDEV Mobile
This example is a telephony application that can be used on a Pocket PC equipped with a phone access (GSM).
This example uses the telephony functions of WinDev Mobile as well as the functions used to retrieve the parameters of the phone.
It enables you to make phone calls, to receive phone calls and to manage a history of the calls (incoming and outgoing) as well as a database of contacts.
Furthermore, you have the ability to import the contacts found in the contact file of the Pocket PC.
AFTER_SALES_SERVICE
WEBDEV
The example of Intranet site ("After Sales Service ") is used to manage a list of incidents and suggestions toward a development team
The following topics are presented in this example:
1/ Printing in PDF or HTML format
2/ Queries
Summary of the example supplied with WebDev:
This Web application, powered by WebDev, is used to create, modify or delete suggestions or incidents. It also enables you to find and view information.
WD Draw
WINDEV
This example explains how to use the drawing functions of WLanguage.
The following topics are presented in this example:
1/ the creation of graphic shapes
2/ the creation of text in the graphic areas
Summary of the example supplied with WinDev:
The drawing functions of WLanguage are used in the "Image" controls. The names of the drawing functions start with the letter "d" (dStartDrawing, dLine, dSlice, dText, and so on).
These functions allow you to highlight parts of a document scanned for GED (Electronic Document Management) or to write notes in an image sent by email.
WD Burner Lite
WINDEV
This example presents the operating mode of the burn functions "Burner*".
This example enables you to burn CD, DVD or Blu-Ray disks.
WEBDVD
WEBDEV
The following topics are presented in this example:
1/ the use of the page templates
2/ the management of a cart
3/ the secure payment
WD Voice Commands
WINDEV
The voice commands of Windows Vista (or Windows XP with a specific software) are used to emulate the WinDev applications via the voice.
By default, a WinDev application already responds to the voice when a text is dictated in an edit control or when the caption of a button is pronounced.
A specific voice command can be programmed to perform a particular action.
WD Using sockets
WINDEV
This example presents the use of the "Socket" functions of WinDev in Client/Server.
The following topics are presented in this example:
1/ How to connect to a socket
2/ How to accept a request for connection
3/ How to write or read on a socket
Summary of the example supplied with WinDev:
This example presents the different functions for socket management supplied with WinDev. To use this example, a first instance of the example must be started in "server" mode. Then, by specifying the name of the computer that will be used as server and a nickname, you can connect to this application in "client" mode. You now have the ability to send messages to all the connected users. In this example, a thread and a socket are associated with each connection .
WD Spelling Checker
WINDEV
This program, powered by WinDev, is used to start the spelling checker on an edit control via ExecuteAAF.
Reminder: Word or OpenOffice Writer must be installed on the computer.
WD Regular Expressions
WINDEV
This example presents the use of the regular expressions in WinDev.
It presents two types of use for the regular expressions:
- checking the input format
- extracting the different elements respecting the input format.
This example also explains how to search for a word in a string while ignoring the case, the beginning or the end of a string as well ad the space characters (anywhere in the string, including in the sought word)
WD Managing Contacts
WINDEV
This example presents the management of contacts in WinDev.
The following topics are presented in this example:
1/ the loopers
2/ the label reports
3/ the queries
4/ sending emails
5/ using Outlook
6/ handling the data found on a mobile device.
Summary of the example supplied with WinDev:
This example is used to manage the contacts and to send emails.
It also enables you to synchronize these contacts with the ones found on the mobile device connected to the PC and with the ones found in Outlook.
WD Phonetic
WINDEV
This example presents the use of the WLanguage function named Phonetic().
The following topics are presented in this example:
1/ how to design the analysis in order to manage the phonetic searches
2/ how to perform a phonetic search
Summary of the example supplied with WinDev:
The phonetic search is very useful when the spelling of a sought value is unknown and to detect duplicates in a database.
This example is used to perform a phonetic search on the name of a person via Phonetic().
You want to find Mr Bohneaux John but you do not know how to spell his name. All you have to do is perform a search on the phonetic name. The result of the query will contain the following names: Bonnaut, Bonneau, Bonot, Bohneaux…
WD Number in words
WINDEV
This example presents the conversion of a number in letters with the WLanguage functions.
The following topics are presented in this example:
1/ the conversion of a numeric value into string
2/ the operations performed on the strings (extraction, concatenation)
Summary of the example supplied with WinDev:
This program is used to convert a numeric value into letters via the WLanguage function named "NumToString". For example, "1910,15 €" becomes "ONE THOUSAND NINE HUNDRED TEN EUROS AND FIFTEEN CENTS".
In this program, the result is displayed in a preview of a report as a check-letter .
WD Dynamic Compilation
WINDEV
This example illustrates the dynamic compilation of source code with the WLanguage functions.
The following topics are presented in this example:
1/ the dynamic compilation
2/ the process of exceptions
Summary of the example supplied with WinDev:
This example explains how to dynamically compile some WLanguage code (stored as string), how to run the procedure that was dynamically generated and how to process the possible runtime errors.
The dynamic compilation is very useful when mathematical calculations are proposed to the end user for instance.
Note: a programming error was deliberately included in the example in order to present the ability to intercept runtime errors.
The error is as follows: "Error at line #3: The 'MyVariabl' element is unknown."
To fix this error, add the letter "e" at the end of "MyVariabl"
WD Curve Smoothing
WINDEV
This example presents the WLanguage functions for smoothing lines.
The following topics are presented in this example:
1/ the functions of the chart designer
2/ the automatic smoothing
Summary of the example supplied with WinDev:
This program, powered by WinDev, is used to smooth a "line" chart by using a "cubic splines" algorithm"
WD Carousel
WINDEV
This example presents the use of the carousel control of WinDev.
It is handled as a ListView control.
Several properties are available, allowing you to modify the orientation of the carousel.
REWALI
WEBDEV
This example is a central reservations office for hotel rooms.

The following topics are presented in this example:
1/ how to use the secure payment implemented by PAYBOX
2/ how to perform a multi-criteria search
3/ how to use the browsing loopers
4/ how to use the page templates
5/ how to use the HTML statics including links
6/ how to modify the controls found in a template by programming
7/ how to use the calendar control


WW_Zoom
WEBDEV
This example explains how to handle the images in browser code: zoom, move, manage the click on a map (a Michelin map in this case).

The following topics are presented in this example:
1/ how to modify the properties of an image in browser code
2/ how to retrieve the position of a click on an image in AJAX mode


WD Chart
WINDEV
This example present the use of the chart control.
The following charts are presented:
- Semi-circular
- Donut
- Pie
- Line
- Scatter
- Bar
- Radar
- Area
The main features presented in this example are the ability to customize the charts by programming as well as the method used to fill a chart from a HyperFileSQL file or in the editor.


WD SAP
WINDEV
This example presents the use of the SAPXxx functions of WLanguage.
These functions enable you to use the SAP BAPI in native mode in WinDev and in WebDev.
This provides access to your SAP data directly from your WinDev applications.
WD Manager of task DotNet
WINDEV
This example is used to list the applications and the processes via .Net functions.

Furthermore, it is used to perform different processes on the applications (Toggle to an application, Maximize, Minimize, and so on) and on the processes (change the priority or end the process).
This example uses the main features of a task manager.


WW_ScrollingText
WEBDEV
This example, powered by WebDev, presents the use of the supercontrol named ScrollingText.
This supercontrol enables you to scroll text in a border of your page


WD ChainedList
WINDEV
This example supplies the tools required to build chained lists (simple sequencing). This type of list is used to store and browse a set of values in an organized way.

In the example, a chained list is used to store buttons.
- The list is then used to hide/move the buttons in the screen, creating a dynamic menu (Sidebar).
- The list is also used to translate the buttons without having to reload the window. To do so, the French caption and the English caption are stored for each button. The advantage of this method is to keep the status of the window, especially the menu in its drop-down aspect, the information text, and so on.

Specific feature of this example:
- this example is a multilingual example (French/English).


WD Schedule
WINDEV
This example presents the management of a graphic schedule with the WLanguage functions.
The following topics are presented in this example:
1/ the drawing functions
2/ the Windows events
3/ the Google Calendar functions

Summary of the example supplied with WinDev:
Who never had to manage a schedule?

This example explains how to create a graphic schedule with clickable areas.
All you have to do is click a task to modify it.
The drawing functions of WLanguage (such as dRectangle) are used to dynamically display a task assigned to a contributor in the schedule


Pocket Poker
WINDEV Mobile
Example of game developed in WinDev Mobile
This example is a game of poker for Pocket PC developed in WinDev Mobile.
WD BarCode
WINDEV
This program, powered by WinDev, is used to:
- create products and associate them with an existing bar code via a bar code reader
- print these products in label format.


WW_Forum_Classic
WEBDEV
This example proposes the main features of a user forum (creation of forums, topics and messages, moderator, search, and so on)

WW_FORUM_CLASSIC uses the following features:
- Full Text search
- Rich control
- Loopers with breaks
- Internal pages
- AJAX
- ...


WD FTP Threads
WINDEV
This example is used to simultaneously transfer several files found in the same directory via FTP.
When retrieving the small-size files (a file per order or per registration for instance), the performance can be increased by 10.

This example also enables you to understand the use and the synchronization of threads.

This example also contains other useful features:
- The storage of the parameters entered by the user
- The creation of a progress bar in an image column of a table
- The use of a "Callback" procedure in the FTP functions.


WD Burner
WINDEV
This example shows how the burning functions ("Burner*") work.

With this example you can burn audio CDs and data CDs, DVD or Blu-Ray disks.





WD CSGroupware
WINDEV
This example presents the use of the user groupware on a HyperFileSQL Client/Server database.
The user groupware:
The user groupware enables you to define different levels for accessing an application according to the rights granted to each user. By default, all the rights area granted to the SUPERVISOR group. You have the ability to define groups of users and to configure the available options for each group. For example, all the deletion buttons will be invisible for the "Trainee" group.
The implementation of the user groupware in Client/Server mode is used to centralize the data files on the server (files of your application and files specific to the user groupware).
The example:
When starting the application, you must specify the information for connecting to the Client/Server database. The specified database will be created if it does not exist. Then, the user groupware will ask you to identify yourself.
Two users are proposed:
- SUPERVISOR (password: supervisor)
- USER1 (password: user1)
These two users can access different options of the application.
WD Advanced input mask
WINDEV
This example presents the new features of the input masks of WinDev.

Topics:
- Defining the format of the positive/negative numbers in a numeric edit control
- Defining the appearance of the negative numbers in a numeric edit control
- Defining the appearance of the value 0 in a numeric edit control
- Using a regular expression to forbid the input of characters other than 1, 2, 3, 4, 5 and 6.
- Using a regular expression to "regulate" the input of a French registration number


WD Trigger
WINDEV
This example explains how to use the triggers with WinDev.
A trigger is a procedure written in WLanguage automatically called by the HyperFileSQL engine whenever a HyperFileSQL function is run.

The following topics are presented in this example:
1/ how to branch a trigger on a HyperFileSQL function
2/ the code that should be used in the function called by the trigger.

Summary of the example supplied with WinDev:
This application is used to enter the expenses for the contributors of a company.
Two modes can be used:
- the mode with read/write rights
- the mode with read-only rights.
The triggers will be used to control the access to the files according to the current mode.
In this example, the triggers are also used to write the different events into a log file.
This log file can be directly consulted in the application.
WD TreeView Duplicates
WINDEV
This example is used to handle the duplicates in a treeview via the WLanguage functions named TreeID() and TreeSelect().
The following topics are presented in the example:
1/ Adding duplicates to a treeview
- Use TreeAdd() while specifying a unique identifier (automatic identifier for instance) and the tvAcceptDuplicate constant
- The added element can be handled via the following syntax:
TREEVIEW[<path of added node> + TreeID(<node identifier>)]
2/ Retrieving the identifier of a duplicate
- Use the new syntax of TreeSelect():
TreeSelect(TREEVIEW, True)
WD Reflexive link
WINDEV
This example presents the management of a reflexive link with the WLanguage functions.
The following topics are presented in this example:
1/ HyperFileSQL: saving and restoring contexts
2/ Graphic lists

Summary of the example supplied with WinDev:
This program, powered by WinDev, uses a reflexive link to manage the family trees: each person has several parents and several children.
All these records are stored in the same file.
WD Direct printout
WINDEV
This example presents the direct printout on a dot matrix printer with the WLanguage functions.

The following topics are presented in this example:
1/ the functions for managing the communication ports
2/ sending sequences to a printer.

Summary of the example supplied with WinDev:
This program, powered by WinDev, is used to directly print to the dot matrix printer connected to the parallel port of your choice.
This example uses the WLanguage function named "sWrite".
This feature is very useful for the applications that use cash registers.
This example is not suited for a laser printer; in this case, you should use the report editor of WinDev.


WD Persistence
WINDEV
This example presents the use of InitParameter, LoadParameter and SaveParameter.
These functions are used to configure the backup of controls, variables and other parameters.
This example is divided into three parts:
- The configuration
- The manual management of variables (SaveParameter and LoadParameter)
- The optimization
1°) Configuration

The configuration window enables you to modify the location of the backup of parameters (registry, INI file, XML file) as well as its path (registry key or file path).
2°) Manual management of the variables
The manual management enables you to save the content of the variables via SaveParameter and to restore them via LoadParameter. Each parameter is identified by a name. These values are saved at the location defined in the configuration window.
3°) The optimization
This window explains how to optimize your code to avoid the slowness caused when the saved values are restored. Indeed, when restoring the value of a control, its modification code is run. If you have long processes (queries with parameters for instance), this window shows you how to speed up the loading of the window.
WD Alarm
WINDEV
This example explains how an alert message can be displayed in the title bar of the active window (regardless of the application).

A sound alarm can also be emitted.

The following topics are presented in this example:
1/ The system functions (retrieving the handle of a window)
2/ Triggering a process according to a given frequency (timers)
WD RMI Server
WINDEV
The WD RMI Server example explains how a WinDev RMI server can be used to access data in Hyper File format from a Mac for instance.
This example requires the setup of an RMI server when it is run in Java mode (with the Jar archive).
In GO mode, the example does not use the RMI server.
The RMI (Remote Method Invocation) is a mechanism allowing the use of the objects distributed in Java.
Its purpose is to call, run and return the result of a method run in a virtual Java machine other than the one of the calling object. This virtual machine can be found on a different machine as long as it can be accessed via the network. The machine on which the remote method is run is called server.
WD Java Sockets
WINDEV
With WinDev, you can generate Java code without knowing Java.
You program in WLanguage and WinDev generates a Java archive and an executable Java program for you.

The "socket" functions of WLanguage are used in the Java generation.
This educational example presents how to use these "socket" functions, and generate a .jar.



WD Active Directory DotNet
WINDEV
This example is used to view the content of an Active Directory.
This viewing is performed via .NET objects found in the System.DirectoryServices assembly. You have the ability to view the properties of the users and to authenticate the users via their password.
You also have the ability to view information (more or less according to your rights) by specifying the name of your Active Directory server
WD XML
WINDEV
This example is used to import an XML file in HF format and to export files in XML format (eXtensible Markup Language). This format is a kind of improved HTML language allowing you to define new tags. It is used as universal format for exchanging data. It contains both the structure and the data.

Summary of the example supplied with WinDev:
This example is presented as a wizard. Via some simple questions, it is used to convert one or more files of an analysis to the XML format or to import the data of an XML file into a HyperFileSQL file.
WD Highlight
WINDEV
This example is used to highlight the control currently in edit by changing its style.
3 types of highlight are available:
- Add a border around the control,
- Change the background color,
- Change the font.
A style is defined for each type of control (edit control, radio button, combo box, and so on) and for each type of highlight.
WD RTF Editor
WINDEV
This example presents the use of the RTF format with the WLanguage functions. The RTF format is used to format a text (weight, color, font, and so). This feature can be very useful in an email software for instance.
The following topics are presented in this example:
1/ the controls that support the RTF format
2/ how to modify the formatting of a text in RTF format
WW_AWPPager
WEBDEV
This example explains how to manage a pager in an AWP page.
The page is generated in WLanguage via several options (number of results per page, total number of results, and so on).
- The set of procedures named pPager contains the code required to generate a pager.
- The initialization code of the project contains the code required to initialize the variables required by the pager
- The initialization code of the lpResult looper found in the Search page contains the code required to initialize the pager.
This code can be easily re-used in your own WebDev sites containing AW pages.
WD OpenGL
WINDEV
This example illustrates how to create 3 dimensional objects (cube, sphere, cylinder, ball, etc.) using the OpenGL engine


WD Graphic Objects
WINDEV
This example illustrates the power of WLanguage regarding the object-oriented programming.
This example is an editor of graphic objects.
It enables you to:
- move and resize objects
- perform selections with the lasso or with the mouse
- cut/copy/paste objects
- delete/duplicate objects
- save and print the created documents.
The main technical features presented in this example are as follows:
- management of a clipboard of objects
- management of UNDO/REDO
- serialization and deserialization of objects
- OOP
- algorithms for managing the graphic objects (proportional resize operation, management of rules for moving, etc...)
WD LDAP Explorer
WINDEV
This example of LDAP explorer, powered by WinDev, is used to view the content of any LDAP directory and to modify the LDAP data.

This example uses the LDAP functions of WLanguage that allow you to interact with the LDAP data: LDAPConnect, LDAPListChildren, LDAPAddAttribute, LDAPDeleteAttributeValue,...


WD PALM desktop
WINDEV
This example explains how to use the main functions for accessing the Palm Pilot memos with the WLanguage functions (address book, organizer, notepad, TO DO, and so on) .

This example presents the two following topics:
1/ retrieve information stored on a Palm Pilot
2/ manage the memory tables

Example Overview:
The Palm Pilot is a widely used personal organizer.
WinDev enables you to easily synchronize the data stored on your Palm Pilot with the data managed by your Windows application.
WW_Pie
WEBDEV
This example explains hos to use the chart maker provided with WebDev and how to associate actions with clicking dynamic parts of the chart.
In this example, the following themes are discussed:
1/ how to draw a pie type chart
2/ how to associate an action with clicking on a section of the chart
WD Java HSL
WINDEV
With WinDev, you can generate Java code without being familiar with Java.
You develop using WLanguage and WinDev generates your Java code.

The "HSL" and "RGB" functions of WLanguage are available for Java generation.

Usually drawing functions use the RGB (Red, Green, Blue) standard to define a color.
A color can also be defined from its HSL components (Hue, Saturation, Lightness).

This program, built with WinDev, explains how to define a color using its RGB components and how to define a color using its HSL components.
This project lets you generate a Java archive then.








WD RTF Conversion
WINDEV
The "WD RTF Conversion" example explains how a text in RTF format (formatted text) can be converted into "rough text" format (to perform processes) or into HTML format (to be used in an email or in an Internet site for instance)


WD Java Controls
WINDEV
This example presents some controls supported in Java.
Indeed, WinDev enables you to generate Java code without even knowing Java.
You benefit from the power of WinDev to create breathtaking GUIs in just a few clicks.

This example presents:
- the "radio button control with Vista style"
- "the treeview table" control
- the "window template" control and the "internal window" control
- the "progress bar" control
- the "splitter" control
- the "listview" control
- the preset actions
- the Vista style via the Vista skin template supplied with WinDev.


WD Printing TreeViews
WINDEV
This example shows how to print a Treeview.
It uses a "PrintTree" class that easy to reuse for any Treeview control.
WD HotKey
WINDEV
A HotKey is a keyboard shortcut.
For instance the Windows+E shortcut is a HotKey defined in Windows. It starts the file explorer.
This example built using WinDev lets you define your own HotKeys.


WW_HTML_Editor
WEBDEV
This example is developed for Microsoft Internet Explorer 5.5 (or later).
It uses the features for HTML edit of Internet Explorer.

WW_HTML_Editor explains how these features can be used in WebDev.
The JSMethod and JSProperty functions allow you to use Javascript code without writing any Javascript code.
The following topics are presented in this example:
- Using the Cell controls
- Using the JSProperty and JSMethod functions
- Running browsing code without submit to the server
- Online HTML edit (pseudo-WYSIWYG)
WD Password
WINDEV
The WD Password example is a "password chest". It can be used to manage passwords created while using Internet sites, but also password created for everyday life (such as PINs, ATM code, etc.)
Data security is insured by the use of Hyper File strong encryption, this way if the files containing the passwords were to be stolen, these couldn't be used without knowing the main password.
This example can also be used to generate very strong passwords.
WD Duplication
WINDEV
This example explains how to duplicate a database on a server.
The duplication is performed by programming and it is used to give a new name to the database.
The example is based on the HyperFile functions for performing a backup and for restoring a HyperFileSQL backup.


Pocket Virtual Keyboard
WINDEV Mobile
This example proposes virtual keyboards that can be customized and smaller than the standard keyboard of the Pocket PCs:
- a numeric keyboard (to enter prices for instance)
- an alpha numeric keyboard (digits+letters only)
- a function keyboard
WD Dictaphone
WINDEV
This example is used to save sounds and to listen to them via the MCI functions of WLanguage.

The following topics are presented in this example:
1/ how to create and save a sound file with WinDev
2/ how to read a sound file with WinDev

Summary of the example supplied with Windev:
This example presents the features of a tape recorder.
It enables you to save a sound in "wav" format and to listen to it.
The users will be able to save alert sound messages or status reports (medicine, secretary, and so on,…).


Hawaii
WEBDEV
Managing an online supermarket
The following topics are presented in this example:
1/ Using queries
2/ Managing a basket
3/ Using the PayBox component
Summary of the example supplied with WebDev:
This Web application, powered by WebDev, is an online supermarket. It enables you to view and to find product in different stores. It also enables you to buy these products and to store them in a virtual basket.
Pocket Photos
WINDEV Mobile
This example is used to take photos and to save by associating them with:
- a caption and a description
- a snapshot address
- an explanatory schema.
The addresses are saved and they can be used by several photos.
WD Detecting Errors
WINDEV
This example, powered by WinDev, presents the module for assisted management of HyperFileSQL errors:
Duplicate, Integrity, Lock, Password, Modification Conflict.

This example presents:
- the default operating mode,
- the different methods for customizing this assisted management.


PC Sending SMS
WINDEV
This example is used to create SMSs on a computer and to transfer them to a Pocket PC or to a Smartphone equipped with a SIM card in order to send them.
To use the PC Sending SMSs example, the Pocket Sending SMSs example must be installed on the Pocket PC or on the Smartphone.
A synchronization can be performed when the application is started to check whether SMSs must be sent or not.
Pocket Password
WINDEV Mobile
The Pocket Password example present a "box" of passwords. It can be used to manage the passwords created when using Internet sites as well as in applications and in everyday life.
The security of the data is guaranteed by the use of the Hyper File encryption. Therefore, even if the files containing this information are stolen, this information is useless without knowing the main password.
The example can also be used as a generator of passwords to create secure passwords.
WW_DrawLine
WEBDEV
The following topics are presented in this example:
1/ how to draw a chart
2/ how to smooth a chart via the 'cubic splines' methods
3/ how to use the page templates
Pocket MIMEExtraction
WINDEV Mobile
This example enables you to extract the attachments from an email.
The structure used for most of the emails id a standard: MIME.
MIME is used to describe the format of an email.
This example uses the data described by the MIME format to:
- find and list the attachments of an email
- extract the attachments from an email.
Each attachment include an identifier. This identifier is specified in the headers of the email.
Each attachment includes a MIME header that describe:
- the name of the attachment
- the type of encoding used to include the attachment in the email
- the type of attachment to the email
The ExtractAttachmenet procedure is used to:
- list the attachments of an email
- extract an attachment or all the attachments from an email.
Pocket ZIP
WINDEV Mobile
This example presents the use of the archiving WLanguage functions with compression.
The following topics are presented in this example:
1/ How do I compress files and uncompress archives?
2/ Managing the display of a table and menu in a Pocket PC application
3/ Managing a popup menu for the last documents opened
Summary of the example supplied with WinDev Mobile:
This example allows you to create and read archives compressed in ZIP format. This feature can be very useful to manage the automatic backups.
How do I compress files and uncompress archives?
Several WLanguage functions allow you to:
- Handle an archive
- Handle the files to compress
- Manage the single-part archives and the multi-part archives
- Retrieve information about the archiving
All the archiving functions of WinDev Mobile are prefixed by zip
WD Agent
WINDEV
This example explains how to control the "MS Agent" ActiveX with the WLanguage functions.
The following topics are presented in this example:
1/ using an ActiveX
2/ including a "companion" in an application

Summary of the example supplied with WinDev:
This example explains how a "companion" can be included in a WinDev application.
This "companion" is implemented via the "Microsoft Agent" ActiveX, also used by Word, Excel ..


Pocket Sending SMS
WINDEV Mobile
This example is used to send SMSs created from the PC Sending SMSs example.
You also have the ability to write and send SMSs from the Pocket application.
How do I send an SMS from a Pocket PC or from a Smartphone with WinDev Mobile?
All you have to do is use the SMS.XXX variables and the function named SMSSend():
SMS.Message = "This is an SMS"
SMS.Number = "0612345678"
SMSSend()
Pocket Images
WINDEV Mobile
Image explorer for Pocket PC
Summary of the example supplied with WinDev Mobile:
This example is used to browse a directory in order to find images.
The images are displayed in a ListView control.
To view the image in real size, double-click the image in the ListView control.
If the image is bigger than the size of the screen, scrollbars are automatically displayed in order to view the entire image.
WW_Loan
WEBDEV
The power of WebDev and the simplicity of the WLanguage allowed us to develop this site in just one day!

This example is used to simulate loans and to:
- calculate the amount of monthly payments from the amount that was borrowed
- calculate the amount that can be borrowed from a given monthly payment
- calculate the income of an investment from a monthly deposit

The amortization table can be displayed for each one of the cases.
This table can be edited in a file in PDF format (standard feature of WebDev).
Pocket Camera
WINDEV Mobile
This example presents the use of the Web Camera control as well as the VideoXXX functions.
The example is used to take a photo (.jpg format) or a video (.asf format) with VideoCapture.
Then, the images and the videos can be viewed in a looper control.
Note: The pocket PC must operate under Windows CE version 5.0 (or later) and it must be equipped with a camera.
WD Puzzle
WINDEV
This example explains how to use the Drag&Drop functions as well as the functions for handling images in WLanguage.
The following topics are presented in this example:
1/ how to use Drag&Drop on images
2/ how to handle sectionz of images with "dCopyBlt"

Summary of the example supplied with WinDev:
Everything is possible with WinDev!
This example is a puzzle.
On the left, the mixed image and on the right, the part that must be rebuilt by Drag&Drop.
Two levels are available (easy and difficult).
The best ten scores will be saved.
It's up to you…




WD Trace Socket
WINDEV
The purpose of this example is to trace everything that occurs on a communication via socket, on a specific address, on a specific port. This example allows you to understand the principle of dialog via socket between two applications.
Therefore, in the applications that dialog via socket, even if no trace option as implemented by the developers, you will have he ability to view all the exchanges performed on the socket.
This example also enables you to understand the operating mode of the network protocols based on the sockets: POP3, SMTP, FTP, HTTP, and so on.
Note for the users who are experienced in network communication:
This example does not allow you to trace the UDP packages (only the TCP communications can be traced).
Pocket Notes
WINDEV Mobile
This example uses the drawing functions of WLanguage.
Summary of the example supplied with WinDev Mobile:
This example enables you to draw graphic "notes" and to save them. You have the ability to enter keywords in order to easily find your notes.
WW_WebStockMarket
WEBDEV
This example explains how to use the chart designer supplied with WebDev to draw stock charts.

The following topics are presented in this example:
1/ how to draw charts such as BarCharts, Candlesticks, MinMax
2/ the management of queries
WD License
WINDEV
This example shows how to display an important message to the user. It could be used to display the license agreement to the user the first time the program is run.
Reading the text is made mandatory by activating the window validation choice only when the display control has been shown in its entirety.
Pocket Regular Expressions
WINDEV Mobile
This example presents the use of the regular expressions with WinDev Mobile.
It presents two types of checks performed by the regular expressions:
- checking the format of an input
- extracting the different elements while respecting the format of an input.
This example also explains how to search for a word in a string, with ability to ignore the case, the beginning or the end of a string as well as the space characters (anywhere in the string, including in the sought word).
Pocket FTPClient
WINDEV Mobile
This example is an FTP client for Pocket PC.

Summary of the example supplied with WinDev Mobile:

This example enables you to view the content of an FTP server. It is also used to download the files, to rename them or to delete them.
WD MIMEExtraction
WINDEV
This example enables you to extract the attachments found in an email.
The structure used in most of the emails is the MIME format.
MIME is used to describe the format of an email.
This example uses the data described by the MIME format to:
- list the attachments found in an email
- extract the attachments from an email.
Each attachment has the same identifier. This identifier is specified in the headers of the email.
Each attachment has a MIME header describing:
- the name of the attachment
- the type of encoding used to include the attachment in the email
- the type of attachment to the email
The ExtractAttachment procedure found in this example is used to:
- list the attachments found in an email
- extract an attachment or all the attachments from an email
Pocket Slide Show
WINDEV Mobile
This example is an image viewer for Pocket PC.

Summary of the example supplied with WinDev Mobile:

This example enables you to view the images found in a given directory.
WD XLS Class
WINDEV
The WD XLS Class example is used to handle the xlsDocument, xlsColumn, xlsRow and xlsCell classes. The purpose of this example is to explain how these classes can be easily handled.
This example displays the content of an .xls document in a WinDev table and it allows you to modify:
- the content of a cell.
- the font for the text of a cell (Bold, Italic, Underlined, Color).
- the background color of the cell.
WD Grouping tasks lists
WINDEV
This example explains how to group the different tasks assigned to several projects in order to get an overall view of the remaining work.

Summary of the example supplied with WinDev:
This example explains how to import files without knowing the analysis via the WLanguage function named HDeclareExternal. You will be able to view the different tasks and to modify or create tasks that will be visible from the editor of WinDev.
WD FTPProgressBar
WINDEV
This example presents the use of an internal window to implement an advanced progress bar.
This progress bar is used in the example for transferring files by FTP (Download et Upload).
The progress bar is used to display various information such as:
- The time passed
- The remaining time
- The size transferred
- The transfer rate
WD Video surveillance
WINDEV
This example explains how to broadcast images coming from a Web camera via a network (Intranet, Internet).
The following topics are presented in this example:
1/ Web Camera control
2/ Using the Socket functions
3/ Using the Thread function
4/ Detecting movements
Summary of the example supplied with WinDev:
This example is used to broadcast the images captured by a Web Camera via a network (Intranet, Internet)
This application groups the "Diffusion server" part and the "Monitor" part.
It enables you to:
- broadcast the images of the Web Camera
- select a "monitor"
- analyze the image to detect a movement. In this case, the relevant recipients (or "monitors") can be notified
- connect up to 8 different Web Cameras and enable the detection of movements
WW_MapArea
WEBDEV
This example explains how the map areas can be used by programming or via a preset action.
Use by programming: this use is performed by ImageArea() that returns the graphic area that was clicked by the Web user
Use via a preset action: this use is performed via the actions defined in the editor for each graphic area of the map area (page display, FTP connection...
WD HTML Export
WINDEV
This example explains how to export data in HTML format with the WLanguage functions.
The following topics are presented in this example:
1/ the functions for managing the external files for generating the HTML file
2/ the operations performed on the HTML tags
3/ the generation of an HTML report
The generation of an HTML page is performed from the data found in a memory table.
By programming
The principle consists in generating a text file with a "HTM" extension. The WLanguage function named "fWrite" will be used.
This example easily writes the text strings by respecting the syntax of the HTML language.
Automatically
The principle consists in creating a report on table based on the memory table that was previously filled.
The printout is requested with an HTML output.
WD Using DOTNET
WINDEV
This example converts currencies into other currencies.
The base of this project (the cEuro class) is used to create a .Net assembly
WD Using .NET is presented:
1/ As a WinDev project and an assembly (all working without .Net in test mode)
2/ As a .Net project written in C# and a .Net executable
Summary of the example provided with WinDev:
Now you can use .Net assemblies in WinDev and vice versa, you can generate .Net assemblies from WinDev!
WD Handles
WINDEV
This example explains how to manage sizing handles and how to move an object from WinDev.
Summary of the example supplied with WinDev:
This example explains how the movements of an object can be managed from WinDev. We will be using two image controls included in a third image control. To move a square, all you have to do is click this square in order to display the sizing handles.
Pocket Explorer
WINDEV Mobile
This example is a file explorer for Windows CE.

Summary of the example supplied with WinDev Mobile:

This example is used to list the files and the directories found on a Pocket PC.
WD StaticMap
WINDEV
This example illustrates the interaction between a WinDev application and the Google Maps API service, in order to display a geographical, political or rad map of a given location on the Earth.
The function named gglGetMap is used to easily perform these processes.
WW_WebChat
WEBDEV
WW_WebChat is a site for online discussion.
Several users can connect to the site and discuss with the other users already connected.
To discuss about a specific topic, you must join a "chatroom".
This chatroom groups the different users who take part into the discussion.
You also have the ability to join several chatrooms at the same time.
WD Statistics
WINDEV
This example illustrates statistical calculation with WLanguage functions.

In this example we address the following topics::
1/ statistical functions
2/ the use of matrices.

Summary of the example provided with WinDev:
This educational program illustrates a set of statistical functions available in WinDev through WLangage commands:
"StatCorrelation", "StatAverageDeviation", "StaStandardDeviation", "StatMax, "StatAverage, "StatSum", "StatVarianceP",….
WW_Images
WEBDEV
This example is a simplified photo and image gallery.
The images found in the "Data" directory of the "Exe" directory of the project are displayed as thumbnails in an horizontal scrolling list. The scrolling of images is performed via AJAX.
AJAX is also used to display the images in real size.
WD SystemAPIs
WINDEV
This example presents the use of the Windows APIs. Several WLanguage functions are used to perform the following operations:

- Hide the system buttons of an MDI child window
- Enumerate the opened windows
- Switch a window to TOP_MOST (always visible)
- Retrieve/Modify the time of a double click
- Retrieve the idle time on the computer
- Empty the recycle bin
- Lock the computer
- Retrieve the number of screens installed
- Change the screen background
- Modify the caret (input cursor) of an edit control
- Share a directory
- Delete a share
- Send a message via network (Net Send)

These functions use the Windows APIs. See the help window for more details.
WW_StaticMap
WEBDEV
This example illustrates the interaction between a WebDev page and the Google Maps API service, in order to display a geographical, political or road map of a given location on Earth.
The function named gglGetMap is used to easily perform these processes.
WD Animated
WINDEV
This example presents the management of an animated image with WinDev.

The following topics are presented in this example:
1/ the "animated drawing" animations
2/ the "zoom in loop" animations

Summary of the example supplied with WinDev:
This example presents some features proposed by WinDev to animate images.
This list is not an exhaustive list. Indeed, by combining the different modes, the number of possible animations exceeds 2000.
This example proposes animations with no code as well as programmed animations.
WW_RSS_Stream
WEBDEV
This example explains how to read and display a RSS stream in a WebDev page via the RSS type and via the WLanguage functions for handling RSS.
A reusable control template is used to display the RSS data.
WD HSL
WINDEV
In most cases, RGB (Red, Green, Blue) is used by the drawing functions to define a color.
A color can also be defined from its HSL components
(Hue, Saturation, Lightness).

This program, powered by WinDev, explains how a color can be defined from its HSL components.
WW_Blogs_AWP
WEBDEV
This example is a site for managing blogs.
A blog is a log or a diary on an Internet site.
It can be consulted by everyone and everyone can write comments.
The author of the blog writes his messages whenever he wants to.
You have the ability to format the text, to include images, notes, and so on.
This example is based on an AWP generation so that the site can be referenced by all the search engines.
Furthermore, each blog can e exported in RSS. (Use of the RSS types of the WLanguage)
WD Drawing lines
WINDEV
This example explains how to draw lines with the WLanguage functions.

The following topics are presented in this example:
1/ the drawing functions
2/ the dynamic compilation
3/ the object-oriented programming

Summary of the example supplied with WinDev:
This example explains how to draw the line of the function with parameters (mathematical function).
You have the ability to use the preset functions or to create your own functions.





WWForm
WEBDEV
This example explains how to dynamically change the appearance of a form found in a Web page.
WBSetup
WINDEV
WD WebCam
WINDEV
This example illustrates how to include a Web Camera in a WinDev application.
In this example we present the following main topics:
1/ Web camera control
2/ Use of the video functions

Summary of the example provided with WinDev:
This example shows how to include a Web camera in a WinDev window.
You can view the image captured by the camera, perform an instant capture and save the filmed scene as a Windows animation (AVI)


Client Socket component
WINDEV
Client Socket component - Source
With Internet growing rapidly, the applications communicate between themselves. Several communication functions (email, FTP, Web services, sockets, and so on) are supplied with WinDev.
Implementing a communication system in an application may be a complex operation. The Server Socket component simplifies the use of the server functions for socket management.
Via the Server Socket component, there is no need to manage the startup of a server or the acceptation of the client connections. Only the dialog with the client(s) must be managed by yourself.
Via the Client Socket component, there is no need to manage the connection to a server. Only the dialog with the server must be managed by yourself
WDSETUP
WINDEV
WD Sending keys
WINDEV
This example explains how to send keyboard sequences to an application with the WLanguage functions.
The following topics are presented in this example:
1/ SendKey()
2/ System functions

Summary of the example supplied with WinDev:
This example explains how to emulate an application by sending keyboard sequences.
A WinDev application can directly handle external applications such as Word or Excel via OLE Automation or DDE.
For the applications that do not support these types of links, keyboard strokes can be simulated via SendKey in order to handle these applications.


WD Messaging Client
WINDEV
This program, powered by WinDev, is a messaging software.
The RPC features of WinDev are used to dialog with the server of messages.
Before running this application, don't forget to run the server of messages (WD Email Server).
Summary of the example supplied with WinDev:
This example, associated with the example named "WD Email Server", is a multi-user messaging software that can be implemented on a local network. The use of the RPC server allows you to limit the use of the network and to avoid sharing the directories to store the messages.
WD DataBinding
WINDEV
The "WD DataBinding" example explains how to link a control and a WLanguage variable.

This example includes two windows:
- A first window presents a simple link between the controls and a composite variable.
- A second window presents a link between a table control and a WLanguage class as well as the link between the table and a detailed form


WD Messaging server
WINDEV
This example is a messaging server that must be used with the example named WD Messaging client.
Summary of the example supplied with WinDev:
This example explains how to implement a RPC server (remote access) in order to limit the network traffic generated by a messaging application.
Pocket Registered
WINDEV Mobile
This application is an attendance manager. It enables you to list the persons who attended a meeting.
The database is previously filled with the list of registered persons.
A bar code reader can be used to read the identifiers of the persons.
The following topics are presented in this example:
1/ the click performed on a table column
2/ the use of a browsing table
WD Handling shapes
WINDEV
This example explains how to capture he mouse actions to draw geometrical shapes with the WLanguage functions.
The following topics are presented in this example:
1/ the creation of graphic shapes
2/ the process of the mouse events
3/ the Object-Oriented Programming

Summary of the example supplied with WinDev:
This example can be used to develop a project allowing the user to perform drawings with the mouse.
This example enables you to:
- draw rectangles, circles and diamonds,
- move the created objects,
- select the colors of the objects to draw,
- capture the double click on an object to retrieve its characteristics,
- call a popup menu on the right click, with the menu options of the window,
- select colors via a click on a shape.

The object-oriented programming is used. Classes are supplied to draw the graphic shapes. They use the WLanguage functions such as dPolygon, dRectangle, dCircle...


WD DirectoryObserver
WINDEV
This example presents the use of the .NET delegates (.NET events) in WLanguage.
To use a delegate in WLanguage, all you have to do is use DotNetDelegate.
This example is based on several delegates that are used to monitor a directory,
I.e. to be informed whenever a modification is performed in this directory.
A modification can be:
- Adding a file or a directory
- Renaming
- Modifying a file
- Deleting a file
Pocket Map
WINDEV Mobile
This example is a light version of WDMap. This example is used to view and modify the data files in Hyper File Mobile format found on a Pocket PC.

Summary of the example supplied with WinDev Mobile:

This example allows you to access the data files in Hyper File Mobile format found on a Pocket PC.
You can:
- View the records.
- Modify the records.
- Reindex the file.
- Repair the file memos


Managing the timers
WINDEV
Managing the timers

This example explains how to implement a timer and it allows you to:
Start a timer
Run a code whenever the timer is called
Stop a timer
The threads
WINDEV
Using the threads

This example explains how to use the threads in an application and it allows you to:
Run a procedure in thread format
Stop a thread
Run a procedure that requires parameters in thread format
The memory tables
WINDEV
Using the memory tables

This example explains how to use a memory table in an application and it allows you to:
Clear a memory table
Fill a row in the memory table
Select a row
Sort a memory table
Delete a row from the memory table
Perform statistical calculations
WINDEV
Presenting the functions for statistical calculations of WinDev

This example presents the functions for statistical calculations (using matrices) of WinDev and it allows you to:
Calculate a sum of values
Calculate an average of values
Find the minimum value in a series of values
Find the maximum value in a series of values
Play a sound
WINDEV
Playing a sound

This example explains how to play a sound from a WinDev application and it is used to:
Play a sound
Pause the sound
Stop playing the sound
Modify the volume
Exploiting the sockets
WINDEV
Presenting the functions for handling the sockets in WinDev

The sockets are used to establish communications between local applications or between applications accessible via a network. The sockets are used to implement a Client/Server architecture. This example allows you to:
Create a "server" socket
Create a "client" socket
Send data between the "client" and "server" sockets
Read the data from the sockets
TWAIN: digitizing
WINDEV
Using a scanner

This example explains how to use a Twain device (scanner, digital camera, and so on) and it allows you to:
Select the device used
Digitize a document in BMP, GIF or JPEG format
Digitize a document and display it in an image control
Digitize a document and store it in the clipboard
Managing the RTF
WINDEV
Managing the RTF format

This example presents the functions for managing the RTF format in a WinDev application. This example allows you to:
Load a file in RTF format
Save a file in RTF format
Find and select a word in a text in RTF format
Display a text in RTF format
Modify the characteristics of a selection (font, case, color...)

Clipboard
WINDEV
Handling the Windows clipboard

This example explains how to handle the Windows clipboard from a WinDev application and it allows you to:
Copy a string to the clipboard
Paste a string found in the clipboard into an edit control
Copy an image to the clipboard
Paste an image found in the clipboard to an image control
Get information about the content of the clipboard
Chart designer
WINDEV
Creating a chart

This example presents the main features of the chart designer of WinDev and it allows you to:
Create a chart: Pie chart, Bar chart or Line chart
Define the display area of a chart
Define the options of the chart (legend, percentage,...)
FTP functions
WINDEV
Presenting the FTP functions of WinDev

This example presents the FTP functions of WinDev and it allows you to:
Connect to an FTP server
List the files and directories found on the FTP server
Retrieve the files found on an FTP server
Disconnect from an FTP server

Play a flash animation
WINDEV
Playing a Flash animation

This example explains how to play a Flash animation from a WinDev application and it allows you to:
Load an animation
Play an animation
Pause the animation
Stop the animation
Perform financial calculations
WINDEV
Presenting the functions for financial calculations of WinDev

This example presents the functions for financial calculations of WinDev and it allows you to:
Calculate the number of payments
Calculate the future value of an investment
Access to the external files
WINDEV
Accessing the external files

This example explains how to handle the files in "non-Hyper File" format with WinDev. This example allows you to:
Create a text file
Write into a text file
Read a text file
Send a fax
WINDEV
How do I send a fax with WinDev?

This example explains how to send a fax with WinDev. The fax can be sent from a fax server or from a modem properly installed and configured on the end-user computer.
Drawing with WinDev
WINDEV
Presenting the drawing functions of WinDev

This example presents the drawing functions of WinDev and it allows you to:
Initialize an image control for the drawing
Draw simple shapes
Write a text into a drawing
Change the color in a drawing
Encrypting data
WINDEV
Presenting the encryption/decryption functions of WinDev

This example explains how to use the encryption/decryption functions of WinDev. This example allows you to:
Encrypt a character string
Decrypt a character string
Popup calendar
WINDEV
Popup calendar

This example is a calendar that can be used with the OuvrePopup function.
The PopCalendar window is very useful in the applications containing date controls.
Indeed, the PopCalendar window allows you to chose a date visually.

The risk of error is reduced as the user can see the day of the week corresponding to the selected date.
Then, the date control is filled with the value returned by the PopCalendar window.
Calendar
WINDEV
Calendar

This example is a calendar.
The Window_Calendar window is very useful in the applications containing date controls. Instead of entering the dates manually, a button found beside the date controls is used to open this calendar window.

The risk of error is reduced as the user can see the day of the week corresponding to the selected date.
Then, the date control is filled with the value returned by the Window_Calendar window.
Registry
WINDEV
Handling the registry

This example explains how to handle the registry of Windows. This example allows you to:
Create a key
Write a value
Read a value
Delete a key
Find out the key associated with the current project
Help the user
WINDEV
Using messages and tooltips

This example explains how to help the user of an application via messages and tooltips.
The EXIF functions
WINDEV
Using the EXIF functions

This example presents the use of the ImageXxx functions.
These functions allow you to access the EXIF information of an image.
The EXIF information is included in the images in JPEG or TIFF format.
It enables you to find out the date when the photo was taken, the orientation of the camera when the photo was taken, the make and the model of the camera, a thumbnail of the image...


Handling the TreeView Tables
WINDEV
Using the treeview tables

This example presents the use of the "TreeView Table" control.
This control is used to organize the data found in a table in tree structure.
The user can see the information he is interesting it.
This example explains how to fill a treeview table, insert data, add child elements...
Using the Calendar control
WINDEV
Using the Calendar control

This example explains how to use the Calendar control. Three features are available:
- Using the Calendar control of the WinDev toolbar,
- Using the functions named CalendarOpen, CalendarPicker and CalendarSelect (multi-selection)
- Using the ..CalendarButton property
- Using the BankHolidayAdd function
Using Progress Bar columns in a table or in a treeview table
WINDEV
Using Progress Bar columns in a table or in a treeview table

This example explains how to use the Progress Bar column as well as the ..TextProgressBar property.
Merging the column titles and the table cells
WINDEV
Merging column titles and table cells

This example explains how to merge the column headers as well as the table cells.
Using the Range Slider control
WINDEV
Using the Range Slider control

This example presents the operating mode of the Range Slider control
Style for displaying the table cells
WINDEV
Style for displaying the table cells

This example explains how the modify the display style of the table cells. The ..BrushStyle property is used to hatch the cells to to perform a color gradient with "tube" effect
Using the arrays
WINDEV
Using the arrays in WLanguage

This example illustrates the different uses of the array type in WLanguage.
Access to Google documents
WINDEV
Using the gglXxx functions to access the Google documents

This example presents the use of the gglXxx functions to access the documents defined in your Google account.
Access to an IMAP email account
WINDEV
Access to an IMAP email account

This example allows you to connect and to access an email account by using the IMAP protocol.
Access to Google Calendar
WINDEV
Using the gglXxx functions to access the Google calendar

This example presents the use of the gglXxx functions to access the calendars and the events defined in your Google account.
Using the activation functions
WINDEV
Using the activation functions

This example illustrates the use of the functions for calculating the activation keys of WLanguage.
Accessing the Google contacts
WINDEV
Using the gglXxx functions to access the Google contacts.

This example presents the use of the gglXxx functions to access the contacts defined in your Google account.
Functions specific to Windows 7
WINDEV
Using the functions specific to Windows 7

This example illustrates the use of the WLanguage functions specific to Windows 7:
- SysIconAdImage
- SysThumbnailAddButton
- SysThumbnailDeleteAll

Displaying a google calendar in an organizer control
WINDEV
Displaying a Google calendar in an organizer control

This example explains how to retrieve the events from a Google calendar via the gglXxx functions and how to display these events in an organizer control.
The HideShow control
WINDEV
Using the HideShow control

This example explains how to handle the HideShow control.
The Burner functions
WINDEV
Using the Burner functions

This example presents the burner functions of WinDev and how these functions can be used.
The associative arrays
WINDEV
Using the associative arrays

This example explains how to use the associative arrays of WLanguage. For example:
Fill an associative array
Access an associative array
The SysMetric function
WINDEV
Using the SysMetric function

This example explains how to use the SysMetric function.
This function is sued to retrieve a set of dimensions that are configured at system level.
It enables you to find out the height of the menu bar in the applications, ...
Val function
WINDEV
Advanced use of the Val function

This example explains how to use the WLanguage function named "Val" with different bases.
It enables you to retrieve the decimal value of a string in Hexadecimal format.
The SysXxx functions on the screens
WINDEV
Using the SysXxx functions on the screens

This example explains how to use the SysXxx functions on the screens in order to retrieve various information. It enables you to :
Retrieve the number of screens installed on the computer
Retrieve the graphic cards installed on the computer
Change the resolution of a screen
...
The LockXxx functions
WINDEV
Using the LockXxx functions

This example explains how to use the LockXxx functions in order to lock an application containing sensitive data.
The NetXxx functions (Network Addresses)
WINDEV
Using the Netxxx functions (Network Addresses)

This example presents the use of the Netxxx functions on the network addresses.
It enables you to:

Retrieve the IP address
Retrieve the MAC address
Transform an IP address into a MAC address
Transform a MAC address into an IP address

The Service functions
WINDEV
Using the ServiceXxx functions (Windows services)

This example presents the use of the ServiceXxx functions.
It enables you to:

List the services installed
Start a service
Stop a service
Pause and restart a service.

The service functions are available for the local computer and for a remote computer.
Note: To use the services of a remote computer, you must have the administrator rights on this computer.
Sending an email in HTML format
WINDEV
Using the EmailImportHTML function

This example explains how to use the WLanguage function named "EmailImportHTML".
This function is used to import an HTML file into the email structure. This enables you to easily add images to the emails.
The Serialize/Deserialize functions
WINDEV
Using the functions for serialization/deserialization

This example explains how to use the WLanguage functions for serialization and deserialization.
The serialization consists in saving a variable, an object, a structure, an array or any other element in a buffer. Then, this buffer can be saved on disk or sent by socket. This allows for the persistence of objects.
The Deserialize function is used to rebuild an object, an array or a structure from a buffer.
Modifying the Hue, Saturation and Lightness
WINDEV
Using the functions for Hue, Saturation and Lightness

This example explains how to perform processes on the images.
It uses the WLanguage function named dModifyHSL.
This function is used to modify the hue, the saturation and the lightness of an image.

Accessing the Notes and Outlook databases
WINDEV
Accessing the Lotus Notes and Outlook databases

This example explains how to access the Lotus Notes and Outlook databases
in WLanguage.
Several WLanguage functions are used to access
the Lotus Notes and Outlook databases natively.
Transparency on the controls
WINDEV
Using the transparency on the controls

This example explains how to use the transparency on the controls.

The optional concatenation
WINDEV
Using the optional concatenation

This example explains how to use the optional string concatenation.
The optional concatenation allows you to add a character string at the end
of another one only if it does not already exist.

The fListFile function
WINDEV
Using the new syntax of fListFile/fListDirectory

This example explains how to use the new syntax of the fListFile function.
This new syntax does not use the system of callback procedure anymore. It directly returns
the list of files/directories found in string format.


HSetServer
WINDEV
Using the HSetServer function

This example explains how to use the HSetServer function of WinDev.
This function is used to modify several parameters on the Hyper File server.
It allows you to manage your server more efficiently.

Hash functions
WINDEV
Using the Hashing functions

This example presents the use of the hashing functions.
The HashFile and HashString functions are used to calculate a Hash key for a string or for a file.
This Hash key is used to:
- Check whether the file is consistent after a transfer for example
- Search for file duplicates
- ...



Calculating the date of Easter and an age
WINDEV
Calculating the date of Easter

This example is used to calculate the date of Easter for a given year. This example can also be used to calculate the age of a person at a given date.

Switching from the RTF format to the HTML format
WINDEV
Managing the RTF format

This example presents the use of the functions named RTFToHTML and RTFToText.
Scheduled Tasks functions
WINDEV
Presenting the Scheduled Tasks functions of WinDev

This example explains how to use the Schedulerxxx functions.
You have the ability to see the list of scheduled tasks, to add tasks and to modify tasks.

You also have the ability to schedule the times as well as the different parameters of the scheduled task such as the fill options,
or the options regarding the end of execution of the scheduled task.
Transparency on a window
WINDEV
Using the transparency of windows

This example explains how to use the transparency of windows
Loopers in WinDev
WINDEV
Using the loopers in WinDev

This example explains how to use a looper inWinDev.
The LooperAddLine function is used to add a row.
The following syntax can be used to retrieve the values entered:
AttributeName[Subscript]
Chrono functions
WINDEV
Presenting the Chrono functions of WinDev

This example explains how to use the ChronoXxx functions of WinDev.
These functions are used to calculate the time passed between the beginning (ChronoStart functions) and the end (ChronoEnd function)
Animation when opening and closing the windows
WINDEV
Presenting the animations of windows

This example explains how to use the animations of windows (opening or closing).
You have the ability to see available animations.
You have the ability to modify the different parameters such as the duration of the animation.
USBXxx functions
WINDEV
Presenting the USBxxx functions of WinDev


This example presents the use of the USBxxx functions. Different features are proposed:

List of USB devices installed (Concentrator, hub and devices)
Information about the selected device (Description, Manufacturer, Class, Location)
The disconnection of devices
The detection of the connection or the disconnection of devices for removable storage.
Chart control
WINDEV
Using the new Chart control of WinDev


This example explains how to use the new Chart control of WinDev.
The Chart control is used to edit the data that will be displayed in the chart.
This data can come from a table column, from a list box or from a WLanguage array. It can also be filled by programming.
A new syntax is now supported on the Chart controls to directly access a value:

MyChartControl[SeriesNumber][Subscript] = MyValue.
Moving elements between two list boxes
WINDEV
Moving elements between two list boxes

This example explains how to move one or more elements from a list box to another one. All you have to do is use the Listxxx functions of WLanguage.
Management of dates
WINDEV
Managing the dates

This example presents the use of the Date type of WLanguage and the use of the functions for handling the dates.

Configuring a remote access
WINDEV
Remote Access

Windows allows two remote computer to communicate between themselves. It is a remote access. This principle is used when your computer connects to your Internet provider to access Internet.

This example is used to easily generate a configuration file for remote access in INS format. Then, all you have to do is double-click the generated file to ask Windows to configure the remote access.
This can be useful when deploying an application on the end-user computers. If the application requires an access to a remote computer, all you have to do is generate the INS file at the end of setup and to run it. No configuration is performed by the end user.

SendKey function
WINDEV
Sending keystrokes

This example explains how keystrokes can be sent to an application with the WLanguage functions.
The following topics are presented in this example:
1/ The SendKey function
2/ The system functions

This example explains how to emulate an application by sending keystrokes.
A WinDev application can directly handle the external applications such as Word via OLE Automation or DDE.
For the applications that do not support these types of links, the SendKey function can be used to simulate the keystrokes in order to handle these applications
Drag and drop
WINDEV
Using Drag and Drop

This example presents the use of Drag & Drop with the WLanguage functions.

The following topics are presented in this example:
1/ How to manage Drag&Drop between WinDev controls
2/ How to mange Drag&Drop from the file explorer of Windows to a WinDev control

the Drag & Drop is used to move objects via the mouse. The "Drag" features means clicking an object and moving it with the mouse while keeping the left button down. The "Drop" feature means releasing the left mouse button.
Drag & Drop can be used with WinDev on the list boxes, treeviews, tables and images.
Excel functions
WINDEV
XLS functions

This example explains how to import and export the content of a WinDev table to Excel and Word. This operation is automatically performed via new WLanguage functions.
The following topics are presented in this example:
1/ how to export the content of a table to Excel or Word
2/ how to import the content of an Excel file into a WinDev table

A button is used to import all the data found in an Excel file into a table of the application.
A second button is used to export the content of the table to the initial Excel file to apply the modifications.
The table can also be exported in table format into Word
Printing by programming
WINDEV
Printing by programming

This example explains the operating mode of a printout performed by programming (which means without using the report editor)
Control panel
WINDEV
Control panel


This example is used to add an icon into the control panel of Windows. this may be useful when installing your application on the end-user computers.

This example is a wizard used to add a shortcut into the control panel of Windows. A name and a comment can be defined for each one of these shortcuts. The wizard can also be used to delete the possible shortcuts added by this method. The example is supplied with the WDCPANEL.CPL file that allows Windows to mange the new shortcuts.


How do I specify to Windows that a shortcut must be added into the control panel?
This example is a wizard. The user defines the file onto which the shortcut points as well as its name and its comment.
During the validation, the WDCPANEL.CPL file (supplies with the example) is copied into the system directory. Its path is written into the registry (Windows XP and 2000) or in a INI file (other versions of Windows).
This file will read the information in a second INI file. This one contains the information regarding the added shortcuts. You may have to restart Windows in order for the shortcuts to be taken into account.
Handling the matrices
WINDEV
Handling the matrices

This example presents the use of the matrices with the WLanguage functions.

This example, powered by WinDev, is used to perform calculations on the matrices: addition, multiplication, transposition, inversion ...
Graphic slider
WINDEV
Graphic slider

This example presents the management of a graphic slider with the WLanguage functions.

This example uses a graphic slider created from a background image and from a cursor image.
WinDev enables you to easily customize your sliders. All you have to do is specify the image of the slider and the image of the cursor.
Internet browser
WINDEV
Internet browser

This example explains how to use and emulate an Internet browser \(Internet Explorer\) in a WinDev window.
The following topics are presented in this example:
1/ how to include a browser in a WinDev window
2/ how to emulate this browser

This example enables you to surf on Internet from a WinDev window. Some current features of the browser have been used: Back, Next, Home, Stop....
This can be useful to display a Web page in your application directly.

Handling the indirections
WINDEV
Overview of indirections:

The { and } operators are used to access a control or a file item by building the control name or the item name dynamically .
This program, powered by WinDev, implements the indirection mechanism on the window controls to manage the "Undo-Redo" feature and the "cut-copy-paste" feature in a generic way.
Overloading a WLanguage function
WINDEV
Overloading the WLanguage functions

This example explains how to overload the WLanguage functions. This example overloads the Trace function and it is used to:
Display a "Normal" trace
Display a trace and save the data in a file
Perform a file trace (the information is saved in a file)
Reading and writing in XML format
WINDEV
Using the XMLxxx functions to create and analyze a document

This example explains how to handle and use the XMLxxx functions. This example allows you to:
Create an XML document
Read an XML document

ControlClone function
WINDEV
Using the ControlClone and ControlDelete functions

This example explains how to use the ControlClone and ControlDelete functions.
Standard functions on the strings
WINDEV
Handling strings: Standard functions

This example presents the use of the functions for handling the character strings.
Functions presented in details:
- Position and PositionOccurrence
- Replace
- StringBuild
- Left, Right, Middle
- ExtractString
Operators [[ ]]
WINDEV
Handling strings: Operators

This example explains how to use the [[ ]] operator and its different syntaxes.
Complex strings
WINDEV
Handling strings: Complex strings

This example explains how to build complex strings with the StrungBuild function.
Strings with APIs
WINDEV
Handling strings: API

This example presents the use of strings with APIs.
The following functions are used:
- StringRetrieve
- Transfer
Different types of strings
WINDEV
Handling strings: Types of strings

This example explains how to use the different types of strings available with WinDev.
Furthermore, their specific features are presented in details.
Types used:
- "Standard" string
- UNICODE string
- Fixed string
- Pascal string
- ASCIIZ string
- Buffer type
Conditional layout
WINDEV
Using the conditional formatting

This example explains how to implement the conditional formatting on the controls.
'Conference' control
WINDEV
Handling the "Conference" controls

This example explains how to use the "Conference" control and it allows you to:
Establish the connection with another user
Communicate (image and sound) with another user via network
Close a connection

Graphic lists
WINDEV
Using the graphic list boxes

This example explains how to handle the graphic list boxes. This example allows you to:
Select or deselect an in the list box
Manage a multi-column list box
Manage the selection by drag and drop
Manage a "hidden" value
Managing the main menu of a window by programming
WINDEV
Managing the main menu of a window by programming

This example explains how to handle the options of a main menu found in a window. This example allows you to:
Select or deselect a menu option
Make a menu option visible or invisible
Modify the caption of a menu option
Mark or unmark a menu option
Run the code of a menu option
Progress window
WINDEV
Progress window

This example explains how to create a progress window. This example allows you to:
Handle a progress bar by programming
Access a child window
Euro calculator
WINDEV
Euro calculator

This example explains how to handle the European currencies according to the Euro. This example allows you to:
Convert an amount in Euros
Convert an amount from Euros to a national currency
Perform operations on currency values
The 'ListView' control
WINDEV
Using the "ListView" control

This example explains how to use the "ListView" control of WinDev. The "ListView" control is used to display the content of a list box in thumbnail format. As for the "List Box" or "Table" controls, the "ListView" control can be a "Memory" control (filled by programming) or a "Browsing" control (linked to a database).
The 'Splitter' control
WINDEV
Using a "splitter" control

This example explains how to use the "splitter" control of WinDev. The "splitter" control allows the user to increase or reduce some window areas according to the anchors.
Sending emails
WINDEV
Sending emails

This example explains how to send emails with WinDev.
Compression / Decompression
WINDEV
Presenting the Compression/Decompression functions of WinDev

This example explains how to handle and use the compression/decompression functions of WinDev. This example allows you to:
Create an archive
Add files to an archive
Read the content of an archive
Extract the files from an archive
XML parser
WINDEV
Reading an XML file

This example explains how to analyze the content of an XML file with the XMLxx functions of WinDev.
Web Camera
WINDEV
Handling the "Web Camera" control

This example explains how to use the "Web Camera" control and it allows you to:
Selection the device used
Capture a video broadcasted by a Web Camera
Save an image broadcasted by a Web Camera

Play a video
WINDEV
Playing a video

This example explains how to play a video from a WinDev application and it allows you to:
Load a video
Play a video
Pause a video
Stop a video
Help the user
WINDEV Mobile
Using messages and tooltips

This example explains how to help the user of an application via messages and tooltips.

Registry
WINDEV Mobile
Handling the registry

This example explains how to handle the registry of the Pocket PC. This example allows you to:
Create a key
Write a value
Read a value
Delete a key
Find out the key associated with the current project

Calendar
WINDEV Mobile
Popup calendar

This example is a calendar that can be used with the OpenPopup function. The PopCalendar window included in this example is useful in the applications containing Date controls. Instead of entering the dates manually, a button is found beside each date control. This button calls the calendar window that allows you to choose the requested day. The risk of error is reduces as the user can see the day of the week corresponding to the selected date. Then, the control is filled with the value returned by the PopCalendar window.

Encrypting data
WINDEV Mobile
Presenting the encryption/decryption functions of WinDev

This example explains how to use the encryption/decryption functions of "WinDev Mobile". This example allows you to:
Encrypt a character string
Decrypt a character string

Access to the external files
WINDEV Mobile
Accessing the external files

This example explains how to handle the "non Hyper File" files with "WinDev Mobile". This example allows you to:
Create a text file
Write into a text file
Read in a text file

Using the clipboard
WINDEV Mobile
Handling the Windows clipboard

This example explains how to handle the clipboard of the Pocket PC from a "WinDev Mobile" application and it allows you to:
Copy a string into the clipboard
Paste a string contained in the clipboard in an edit control
Get the information about the content of the clipboard

Perform statistical calculations
WINDEV Mobile
Presenting the functions for statistical calculations of WinDev

This example presents the functions used to perform statistical calculations (using matrices) of "WinDev Mobile" and it allows you to:
Calculate a sum of values
Calculate an average of values
Find the minimum value in a series of values
Find the maximum value in a series of values

The memory tables
WINDEV Mobile
Using the memory tables

This example explains how to use a memory table in an application and it allows you to:
Clear a memory table
Fill a row in the memory table
Select a row
Sort a memory table
Delete a row from the memory table

Managing the timers
WINDEV Mobile
Managing the timers

This example explains how to implement a timer and it allows you to:
Start a timer
Run a code whenever the timer is called
Stop a timer

Progress window
WINDEV Mobile
Progress window

This example explains how to create a progress window. This example allows you to:
Handle a progress bar by programming
Access a child window

Encrypting data
WEBDEV
Presenting the encryption/decryption functions of WebDev

This example explains how to handle the encryption/decryption functions of WebDev. This example allows you to:
Encrypt a character string
Decrypt a character string
Using the graphic list boxes
WINDEV Mobile
Using the graphic list boxes