Search KB Filter article types
Crystal Report PDF Gateway [By Gregory Lomax]
Categories: Reports, PDF
Tags: Developers, Gateway, 1. Beginner, 2. Intermediate, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
Revision: 1
Posted: 09/Jan/2008
Updated: 09/Jan/2008
Status: Publish
Types: Code

This sample application shows how to export a Crystal Report as a PDF and deliver it to the user via a gateway and bypass the crystal report viewer.

The sample includes a dynamic parameter entry screen which also shows how to manage report parameters.

The sample application is written in MS Visual Studio 2003 using VWG v6.1.3 for .Net Framework 1.1 and Business Objects XI (.net 1.1) using unmanaged reports on the Report Application Server.

Updating for later versions of BOIX should be very straight forward.

The sample requires that the Crystal Reports Server and database logon setup be entered in the web.config but you should consider a more secure way of storing that information.

If you don't already have Crystal Reports Server, you can get Crystal Reports Server XI Release 2 from here: http://www.businessobjects.com/forms/default.asp?id=701300000000yxE
This version of CRS would require you to convert this application's project file to MS Visual Studio 2005.

Before running the attached project you would need to add to the GAC or the bin folder of the project, the Crystal Reports .NET DLLs that you get with Business Objects XI, according to the predefined project references.

Enjoy...

 

Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Terms of Agreement:
By using this code, you agree to the following terms...

1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3. You may link to this code from another website, but ONLY if it is not wrapped in a frame.
4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


About the author

Related Articles

Reports  
Title Update Author
Hello Everyone, I've successfully wrapped the Crystal Reports Viewer for VisualWebGUI. In addition to the wrapper, I demonstrate the use of 2 other approaches using a Server Control and an AspPageBox/AspPageBase. I hope this helps you! Thank you - Ryan D. Hatch ryan [.] hatch [at] konect [com]
Tags: Developers, Wrapper, 1. Beginner, 2. Intermediate, Wrapping Controls, Pre v6.3, v6.3, 3. Advanced
08/Jan/2009    2009/01/08
Hi Guys - Here is the Crystal Reports Viewer for .NET 3.5. Some people requested this. Enjoy! Ryan
Tags: Developers, Wrapper, 1. Beginner, 2. Intermediate, Wrapping Controls, Pre v6.3, v6.3, 3. Advanced
08/Jan/2009    2009/01/08
Tags: Architects, Developers, Wrapper, 2. Intermediate, 3. Advanced, Wrapping Controls, ASP.NET, v6.3, v6.4 and Later
07/Jan/2007    2007/01/07
This video demonstrates how to use reporting services in Visual WebGui.
Tags: Developers, Wrapper, 1. Beginner, Data Binding, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
01/Jan/2009    2009/01/01
This video demonstrates how to use reporting services in Visual WebGui.
Tags: Developers, Wrapper, 1. Beginner, Data Binding, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
11/Jan/2007    2007/01/11
Large organizations that make use of SQL server may well also use Reporting Services to create a corporate reporting solution that is accessible across the corporate LAN / WAN. This article shows how to access such a server using the report viewer control.
Tags: Architects, Developers, Wrapper, C#, 2. Intermediate, 3. Advanced, Wrapping Controls, v6.3, v6.4 and Later
26/Sep/2010    2010/09/26
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS