demetries
06-04-2004, 10:13 AM
I am opening a pdf created in version 6.0 using the following javascript:
function checkBrowser() {
if (document.all) {
window.open("pdf/foundationapplication.pdf", "Title", "width:300;height:300;");
return false;
} else {
return true;
}
}
This is called from the onload body of the html file.
Prior to this, I execute ASP code to send an email using CDONTS on the server and use the command in ASP "Response.Redirect "Thankyou.htm"" to direct me to the htm page that opens the pdf file.
Behind the pdf file ofcourse is the Thankyou.htm that opened the pdf file.
When I close the window that has opened the pdf file and go to the
thankyou.htm file to close that as well, I get the following error:
"The instruction at '0x05d5f45b' referenced memory at "0x0000000" the memory could not be read"
Can someone please help.
Thanks
function checkBrowser() {
if (document.all) {
window.open("pdf/foundationapplication.pdf", "Title", "width:300;height:300;");
return false;
} else {
return true;
}
}
This is called from the onload body of the html file.
Prior to this, I execute ASP code to send an email using CDONTS on the server and use the command in ASP "Response.Redirect "Thankyou.htm"" to direct me to the htm page that opens the pdf file.
Behind the pdf file ofcourse is the Thankyou.htm that opened the pdf file.
When I close the window that has opened the pdf file and go to the
thankyou.htm file to close that as well, I get the following error:
"The instruction at '0x05d5f45b' referenced memory at "0x0000000" the memory could not be read"
Can someone please help.
Thanks