Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2008, 04:55 PM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 205
Thanks: 4
Thanked 0 Times in 0 Posts
Default Export CrystalReportViwer programatically

I need to export a CrystalReportViewer programatically to a disk file and need to be able to set path & file name & entension (.pdf).

I've read about the CrystlReportViewer.ExportForm but I understand that opens a dialog box only.

Any ideas??

 
Old February 12th, 2008, 05:08 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Have you looked at the CrystalReportViewer.ExportToStream method, to export to PDF.

/- Sam Judson : Wrox Technical Editor -/
 
Old February 13th, 2008, 09:25 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 205
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I cannot find where this method is supported in vb (CrystalReportViewer.ExportToStream)

 
Old February 13th, 2008, 09:56 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I don't have crystal reports installed myself, so I can't really give you much help. Depending on which version you have it might be called something else. Try searching the Crystal Reports documentation for "PDF" or "Export" or just browsing through intellisense.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Crystal Report Programatically Harinder.Dhamija ASP.NET 2.0 Basics 0 July 20th, 2007 08:28 AM
Accessing Programatically xlr8 BOOK: Beginning C# 2005 Databases 1 April 30th, 2007 08:56 AM
Programatically Using WorkItem Import/Export Tools geomar BOOK: Professional Team Foundation Server ISBN: 0-471-91930-6 0 April 6th, 2007 08:18 AM
MaxDataAxisValue programatically ganans Crystal Reports 0 May 6th, 2006 06:30 PM
Using data programatically jasongorringe ASP.NET 2.0 Basics 1 February 10th, 2006 02:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.