Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can you hide toolbar, menubar for i.e. window?

Status
Not open for further replies.

jfdabiri

MIS
Feb 27, 2007
282
0
0
US
hi,
i'm trying to open an html window in a vbscript script. how do i hide the menubar, toolbar, etc?
thanks.
 
Have a look at the open method, eg:
open url, "newin", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=455,height=570"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Another setting to look at would be the TheaterMode.

Code:
			Set objIE=WScript.createobject("internetexplorer.application","objIE")
			objIE.visible = True
			objIE.TheaterMode = False

Although this does not perminantly remove menues as you can get the browser out of Theater mode by unmaximizing the window.



Thanks

John Fuhrman
Titan Global Services
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top