Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 5 Jahren, 3 Monaten
Letzter Beitrag:
vor 5 Jahren, 3 Monaten
Beteiligte Autoren:
Geoff B, Marc De Swert, Kalil

how to make documents

Startbeitrag von Kalil am 24.04.2013 02:31

Hello I am a beginner in windev and I have a final project study to be performed with windev17
I realize a management application university students
My prolème is that I wish I could make paperwork certificates of registration, payment, ... (external document in Word format) for each student selected in the list of students. I need the code or how to proceed.
Thank you in advance for your help and understanding.


Hi Kalil,

Why not create the documents in Windev and link there the students?

Marc :cool:

von Marc De Swert - am 24.04.2013 05:49
WD Export table


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


WD Controlling Word


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

WD Controlling word processor


The purpose of this example is to offer a universal interface, allowing to control these applications, without worrying about the application to control. This example is based on an object oriented programming concept: polymorphism. It consists in using different objects (OpenOffice and Microsoft Word objects), without really knowing which one is used.

von Geoff B - am 24.04.2013 07:11
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.