Hi,
I display dynamically-generated PDf files from a URL when the user clicks a button in
my NetDynamics application.
In Netscape, this display ok - Netscape accepts the MIME type I send the browser
(application/pdf) and displays the file within the web browser.
However IE4 has a problem with this. I think it is because it is using ActiveX controls
to display the PDf file within the browser window - when I look at the html
source
for the browser page, I get the following:
<html><body leftmargin=0 topmargin=0 scroll=no> <embed width=100% height=100%
fullscreen=yes
src="http://localhost/Scripts/ndCGI.exe/eFinance/pgProcess"></body></h tml>
where pgProcess is my ND page. I think IE 4 is not accepting the MIME type correctly,
and is trying to determine which plugin to use from the file name (pgProcess)
and
since this is not suffixed by .pdf, it doesn't recognize the file as a PDF
and displays
a blank page.
It works if I append .pdf to the file name within the html source, which I think
proves that.
However I can't manipulate that HTML source - it's generated by IE4 not ND4 as a way
to handle non-html file formats sent to the browser (this is what I think anyhow)
How can I get around this problem? ND4 will not let me change the page name to be
pgProcess.pdf, which would solve the problem.
The problem doesn't happen in IE5, but unfortunately we don't have the luxury of
limiting what browsers our customers use.
Thanks for your help,
Fionnuala
Hewlett-Packard Ltd,
Dublin, Ireland
_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]