Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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 December 24th, 2006, 02:59 AM
Registered User
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in saving PDF from crystal reports in asp

I found a activeXviewer in BusinessObjects.Using tht Im generating a PDF from a crystal reports....
Problem is "I want to save the PDF into my Local Disk or in a server directory".....

I have tried it but it is not getting saved.....

Here is the code...
================================================== ===========
Case "CRXF_PDF"
                ExportOptions.FormatType = CREFTPORTABLEDOCFORMAT
                ExportOptions.PDFExportAllPages = TRUE
                GetExportPageRange startPage, endPage

                If startPage > 0 Then
                    ExportOptions.PDFExportAllPages = False
                    ExportOptions.PDFFirstPageNumber = startPage
                    ExportOptions.PDFLastPageNumber = endPage
                Else
                    ExportOptions.PDFExportAllPages = True
                End If
                Response.ContentType = "application/pdf"
                Report.PaperOrientation = crPortrait
                Report.ExportOptions.DestinationType = crEDTDiskFile
                Report.ExportOptions.FormatType = crEFTPortableDocFormat
                Report.ExportOptions.DiskFileName = "c:\abc.pdf"
                Report.Export False

================================================== =======================

Can anyone help me .......Very Urgent

 
Old January 22nd, 2007, 06:21 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
contact with relavent activex company, they will give you a support.

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting Crystal Reports to PDF using ASP.NET Gyto Crystal Reports 2 November 22nd, 2006 12:53 AM
problem in Exporting Crystal report to PDF cat_net Crystal Reports 0 October 3rd, 2005 11:49 PM
Logon failed... exporting crystal reports into pdf JerBlur VB.NET 0 July 23rd, 2004 02:00 AM
Crystal 9 PDF export problem AlexB Crystal Reports 0 January 7th, 2004 04:07 PM





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