Results 1 to 2 of 2

Thread: [Resolved] Give user the ability to save or open newly created PDF document

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    612

    [Resolved] Give user the ability to save or open newly created PDF document

    I have some code that creates a crystal report. Then, I load the report using the CrystalReportViewer. In this code I have the report being exported to a pdf document. I have verified that the document is being created.

    When I try to use the following code.
    VB Code:
    1. Response.WriteFile("C:\Exported\PortableDoc.PDF")
    The File Download Box comes up trying to open or save the web page that this viewer is on.

    In other words, the pdf file I created is not being loaded for the user to open or download.

    Anyone have any ideas as to what I'm doing wrong?

    Thanks
    Last edited by indydavid32; Dec 10th, 2003 at 08:39 AM.
    David Wilhelm

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    612

    Thumbs up

    Here is the answer for this if anyone is interested. This puts the report in pdf format right in the web browser. No download necessary.

    http://support.crystaldecisions.com/...apps_vbnet.pdf
    David Wilhelm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width