ole automation

  • Thread starter Thread starter Fred Jacobowitz
  • Start date Start date
F

Fred Jacobowitz

From excel I am using automation to start an instance of Internet Explorer
6.
dim web as object
Set web = CreateObject("InternetExplorer.Application")
web.Visible = True
web.Navigate "www.microsoft.com"
Is there a way to launch IE without the Min, Max,Close buttons?

Thanks Fred J
 
Yes it's possible. You'll need to use the fullscreen
property, and then you can specify the size and location
to make it not full screen.

RayO
 
Is there a way to launch IE without the Min, Max,Close buttons?

Only in Fullscreen mode.

A security change about a year ago has prevented the feature
that RayO is remembering. You now need to have a Title bar
hence a Close box on small popup windows. I think the idea was
to prevent new windows from emulating standard dialogs too closely
such that they might be misperceived by the user and misused
by a site running a script associated with them.


FYI

Robert Aldwinckle
 
Just after your Set statement, append:

web.fullscreen=True
web.width=400
web.height=200
web.left=400
web.top=200



RayO
 
I can still run this just fine here, on a fully updated
2k system, and from an IE OLE server. I did hear about
XP SP2 no longer allowing hiding of the title bar though.



RayO
 
Back
Top