Suppress error message pop-ups in HTA application

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

I try to load external webpages with in a HTA application.

The actual logic is in a HTML loading external pages in frames and is
embedded into the HTA by iframe.

As soon as the external page is loaded, the containing script tries to
execute "top.location.toString();"
which results in an "Permission denied" error.

This error is not crucial and running the HTML in IE browser with
ignoring script errors switch on works fine.

How can I switch the error pop-up off in HTA ?

Best Regards,
Timo
.



Relevant Pages

  • Re: Suppress error message pop-ups in HTA application
    ... I try to load external webpages with in a HTA application. ... ignoring script errors switch on works fine. ...
    (microsoft.public.scripting.jscript)
  • Frames using HTA and the Link tag
    ... I am currently working to write a few custom scripts that I can use to manage ... I would like to seperate out specific functionality into seperate ... ..hta documents and have a main document that uses frames to load and manage ... Here is a snippet of my main file that loads and manages the frames: ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)
  • Re: how to resolve for permission denied when accessing any object using parent. using javascript?
    ... I was able to solve by converting the main html page ... into HTA application. ... It runs as fully trusted application with frames and iframes. ...
    (comp.lang.javascript)
  • Re: HTA problem
    ... But I'm not using any frames. ... And definition of my hta is something like ... > Vassiliev V. V. ... >> What am I missing here, ...
    (microsoft.public.scripting.wsh)