Hi all,

I use Internet Explorer to create a few dialog boxes in my vb scripts. Since
moving to IE7 I no longer seem to have control of the size of these IE
dialog windows, ie. they are all appearing full screen. Does anyone know a
fix or a way around this ?


TIA

Bill.

Re: IE Dialogs with vbs by mayayana

mayayana
Wed Jun 20 07:42:06 CDT 2007

>
> I use Internet Explorer to create a few dialog boxes in my vb scripts.
Since
> moving to IE7 I no longer seem to have control of the size of these IE
> dialog windows, ie. they are all appearing full screen. Does anyone know a
> fix or a way around this ?
>

That's been discussed here in the past. Apparently
Microsoft changed IE so that FullScreen could only
be *really* full screen. Since the FullScreen property
was the way to remove the IE title bar and window
border, that means you have to skip the Fullscreen
property and just live with clunky-looking message
boxes if you want control over sizing.

Presumably the change was made to prevent exactly
what you're doing, since it can be used as a trick by
viruses, etc. (I'm saying "apparently" and "presumably"
because the resizing problem is widely known but I've
never actually seen the change mentioned in any
MS docs.)

There are documented ways to roll back to IE6, and
to block an IE7 auto-update via a Registry setting, but
if you want to use IE7 (or if you have to accept IE7
because you're operating on a network without control
over such things) then you have to give up the message
boxes without title bars.

... And if you were using the message boxes as part of
"malware" to attack other people's PCs, then you'll now
have to settle for the approved methods of getting past IE:
javascript, ActiveX, iframes, HTA, browser extensions,
BHOs, digital certificates, etc. :)