473,569 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"no such interface supported" when using parent.frame.do cument.location .href

I have some code that changes a PDF file in another frame using:

parent.frame.do cument.location .href = "PDF File"

This code works fine the first time it is called. But if a PDF file is
in that frame and the code is called again IE gives me an error:

"no such interface supported"

I have used this code for the past 5 years and it has worked fine with
Adobe Acrobat 4-6 it is only 7 that started to cause me grief. It is
only IE that has this problem, Netscape seems to work fine.

I have checked the web and talked to Adobe and have yet to find a
solution.

Thanks for your help,
John

Jul 23 '05 #1
2 6799
On 6 Jun 2005 09:23:14 -0700, "John" <jw*******@glja .com> wrote:
I have some code that changes a PDF file in another frame using:

parent.frame.do cument.location .href = "PDF File"

This code works fine the first time it is called. But if a PDF file is
in that frame and the code is called again IE gives me an error:

"no such interface supported"

I have used this code for the past 5 years and it has worked fine with
Adobe Acrobat 4-6 it is only 7 that started to cause me grief. It is
only IE that has this problem, Netscape seems to work fine.


remove the .href, remove the .document stop using javascript where <a
target= ... seems appropriate.

Jim.
Jul 23 '05 #2
Thank You for you help, that worked. I would use <a target but I do a
lot more then just display a static PDF file.

John

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5871
by: Tim Hansen | last post by:
Greetings to all. I am having a problem running .asp pages for our new website. I beleive it to be an IIS problem, but all the troubleshooting has lead me nowhere. When I try to acces the pages via http://ip/admin/index.asp (ip is the "home directory") i get: Server Application Error The server has encountered an error while loading...
1
4893
by: skilla | last post by:
Hi people, I've got WinXP Pro SP2 English on my laptop and since installing SP2 got the IISRESET "No such interface supported" error. The whole story: I was writing a fairly simple ASP app with in-memory recordsets, and while testing I issued an iisreset to get 'clean test results', but I got the "No such interface supported".
0
1317
by: Mec | last post by:
Some time ago I created a windows forms application with a deployment project. I was always able to build the deployment package after changing the windows forms application, but somehow something changed. When I try to build the deployment project, it builds the windows application without errors, but when packaging I now get the following...
2
11728
by: kj | last post by:
Here's a puzzle I can't figure out. I visited the page http://validator.w3.org, and confirmed that it validates itself. Then I *saved* it to my docroot directory using my browser's save-as function, and then tried to submit this saved page for validation. Now it generates 17 errors, of the form: end tag for "link" omitted, but OMITTAG...
1
2765
by: pbd22 | last post by:
hi. for some reason i am not able to navigate the dom. i keep getting the 'no properties' error but i think i am doing everything right. this is an XML response from an AJAX call. The ajax method to call the server code looks like this. i am passing a cookie as a parameter:
1
1867
by: dmorand | last post by:
I'm having an issue with displaying asp pages on my server. I've determined it's obviously something with only asp because html pages display fine. I'm getting this error when I launch my asp page: Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.