Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting to PDF creates the physical PDF file

Status
Not open for further replies.

jmerencilla

Programmer
Jul 17, 2002
123
SG
hi. im using CR for .NET. im trying to export a crystal report in pdf format. in my code there is a portion in which i specify the destination for the exported report. i notice that every time i export, my program creates a copy of the same report that is displayed in the browser, the same filename i provided in code which includes a time stamp to make it distinct from the other. would you guys know how not to create these "temporary files" because eventually, these files will occupy too much space in my drive? at the lower portion of my code is this:

Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.WriteFile(strFilename)
Response.Flush()
Response.Close()


thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top