Skip to content
Geek648 edited this page Jan 25, 2013 · 7 revisions

(to be completed)

How to use the Designer

Please refer to the Create New Report page.

How to use the Viewer in your application

Please refer to the Winform Viewer page.

Calling the Viewer exe directly from your application

For the simplest way to present a report to the user, it is also possible to call the viewer (RDLReader.exe) via a system/Shell call - as if issuing a DOS command like
C:\Fyi> RdlReader.exe C:\Fyi\myreport.rdl

vb.net example

Dim ID As Integer  
ID = Shell("""C:\Fyi\RdlReader.exe"" C:\Fyi\myreport.rdl", , True, 100000)

This gives you the power of RDL based reports in just a line or two of code, with both the report designing stage and the viewing/printing of reports taking place outside of the programming environment or application. This is ideal as an introduction to RDL reporting, and as a bonus the knowledge gained in the process may one day be useful if you progress to the full blown MS Server based reports system.

Please refer to Calling the Viewer exe as a system command for more details.