Re: HTA's

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

From: Brian K. Williams (williamsb_at_millenia.com)
Date: 03/04/04


Date: Wed, 3 Mar 2004 16:26:06 -0800

Yes, I had this problem also.. You wont get rid of that prompt even with a
HTA. This is a built in security feature of IE, you are only able to modify
the properties of a window that you generated with script.

What I did to get around this was set the size of the window to 100px with
window.opener and moved it way off screen to about -9000px top. When your
window that you opened is closed just set the top and width back to the
original size and position.

You might be able to simulate the F11 key with JavaScrit onload. I haven't
tried that yet.

If you ever find a way to-do this other than above, please email me.

Thanks,
-Brian

"Herb Stull" <stullhe@nauticom.net> wrote in message
news:uMBvztXAEHA.2212@TK2MSFTNGP10.phx.gbl...
>
> Hey Brian,
>
> Thanks for the tip but my experience with window.open is that it leaves
> the original window behind (open) and you have to do a window.close to
> get rid of it.
>
> The window.close then throws a prompt to the screen asking the user if
> they want to close. This tends to throw them off and we get a lot of
> calls asking if they really want to close.
>
> You know how end users are, they'll call 3 or 4 times before they
> finally get the hang of things and I have over 700 folks using this app.
>
> Any other suggestions would be appreciated.
>
> Herb
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Sent mail
    ... I get after an IE prompt mainly ... that window there is an empty 'to' field and filled in field 'subject ... Hitting 'send' does the ...
    (microsoft.public.windowsxp.general)
  • RE: View conflicts on check in
    ... I never got the merge window. ... Another person checked changes in. ... and save (the merge result is saved over the local file) or cancel the ... If you answer no - the next prompt is "Redo the automatic merge"? ...
    (microsoft.public.vstudio.sourcesafe)
  • Re: Logos/buttons show as plain boxes
    ... Launching new window with about:blank, ... - Regardless of whether I work offline or not ... - Regardless of whether another window is opened to the same page ... The idea is that if you get a prompt ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: No clue whatsoever, so thought Id ask the experts
    ... On Jan 27, 10:15 am, Gary''s Student ... > Sub AskMeNoQuestions() ... >> thing) to prompt a window to pop up with a Label ...
    (microsoft.public.excel.programming)
  • Re: Error Accessing a certain Web Page
    ... Rather than disable Active Scripting I would make it a Prompt ... so far doesn't tell us if clicking the eRMA button launches a popup ... clicking on the button launches a new window ...
    (microsoft.public.windows.inetexplorer.ie6.browser)