Skip to main content
Windward

Examples

engine-wiki-logo.pngOverview

Useful examples for the .NET Engine.

Documentation

Examples

Requirements: Visual Studio 2012 or newer.

C# Command Line Example

While you generally will not call Windward from the command line, this provides the simplest illustration of how to call Windward. All of these examples assume you have created a report template using AutoTag and now want to use the engine to generate a report from that template.

These files can be used to create a command-line .exe which is equivalent to the runreport.exe located in the /test folder of the .NET Engine installation. The RunReport application will accommodate a variety of data source types while the RunReport XML is limited to .xml data sources.

ASP.NET Example

This is a basic example on how to use the Windward Reports .NET Engine in a web application. This example is a pure ASP.NET implementation. There are two front-end sites for this example.

  • BasicReportForm.aspx - This page displays information on a specific employee. There is a single button to generate a leave of absence letter to send to a manager. The letter is a PDF file.
  • ReportForm.aspx - The second page is more dynamic. You choose which leave request number you want the report to be on and the output format.

You are free to use this example in any way you wish.

Visual Basic Example

This is a simple VB forms app to show how to use our engine with VB. It includes one VB file called VBexample.vb, this includes 2 functions, SqlReport and XmlReport, which generate a report using MS SQL and Xml respectively.

C++ Example

While you generally will not call Windward from the command line, this provides the simplest illustration of how to call Windward from Visual C++. The Visual C++ API provides an API for unmanaged C++ to call the Windward engine. It is implemented using a C++ wrapper built with /cli that then calls the underlying .NET Windward engine. Your C++ code is unaware of .NET and you do not need to do anything special to build your code. You do need to have .NET 3.5 and J# 2.0 installed to run the code. The C++ wrapper is included with the .NET Engine install.

Custom Functions Example

This example allows you to create and edit custom functions to be used with the Engine and/or AutoTag. These files can be used to create a WindwardCustomFunctions.dll file containing your own custom functions, to be used with the Windward .NET engine and AutoTag, version 10.0.0.0 or newer.

Note: This project can only be opened in Visual Studio 2005 since it is written in J#.

Custom Callbacks Example

This example walks you through creating a WindwardCustomCallbacks.dll file that will check and allow, change, or disapprove each select before it requests data from the datasource.

  • Was this article helpful?