IE7 - controlling what gets displayed (vbs)

  • Thread starter Thread starter Fisheye
  • Start date Start date
F

Fisheye

Hi all,

I have a script that creates an instance of iexplore, making it a certain
height and width, without any menu bars, history or search panels displayed.

This works great on most IE's right up to IE7, has anyone seen how to make
it also work for IE?
The function is below.

Sub CreateIE()
Dim strIE
Set IE = CreateObject("InternetExplorer.Application")
strIE = "\\server\netlogon\logon.htm"
With IE
.navigate strIE
.resizable=0
.height=480
.width=285
.menubar=0
.toolbar=0
.statusBar=0
.visible=1
End With
Do while ie.Busy
' wait for page to load
Wscript.Sleep 100
Loop
End Sub
 
Hi Fisheye :-)

IE7 Beta 2 Public Preview testers are asked to post their comments to the
following newsgroup. The folks there specialize in helping you with problems
such as yours and others specific to the Beta 2 program, and the IE7 Beta
team is also assisting in this group and anxious to hear of your experience
and comments. So please post your question or comment to
microsoft.public.internetexplorer.general newsgroup.

On the web:
http://www.microsoft.com/communitie...?dg=microsoft.public.internetexplorer.general

In your newsreader:
news://msnews.microsoft.com/microsoft.public.internetexplorer.general

Hope this helps.

Jan :)
MS MVP - IE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 
Back
Top