By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,758 Members | 1,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,758 IT Pros & Developers. It's quick & easy.

Window Minimizing

P: n/a
I have an application from which I allow users to run reports that
are crystal reports and exported to PDF format, in addition there are other
static documents that users can view in pdf format.

Each time a PDF document is opened, it is opened in a new window (this fine)
but the windows seems to minimize.
Why does this happen, is it code related?
This is what I use:
With Response
.ContentType = "application/pdf"
.Buffer = True
End With

In Order to let the PDF open within the current window sould the target be

Any help or suggestions are always appreciated
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
try this
top open the document in a new page and not minimizing the window.
Response.AddHeader "Content-Type", "application/octet-stream"
Response.AddHeader "Content-Disposition", "attachment;filename=test.pdf"
this will open the report in the same window. the file name can be any name.
Response.AddHeader "Content-Disposition", "inline;filename=test.pdf"

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.