vbscript to open URL needs refining

May 2, 2005 at 18:50:03
Specs: XP Pro

Below is a simple script that will open the Microsoft home page. You can modify the toolbars' values to display or hide as you see fit.

Can someone help with the toolbar buttons? Even though the option exists to display or hide the entire toolbar, is there a way to display only certain toolbar buttons on the window?

For example, is there a way - through the script :) - to display just the back and forward buttons?

Thanks!


dim Window

set Window = CreateObject("InternetExplorer.Application")

Window.RegisterAsBrowser = True
Window.Navigate("www.microsoft.com")
Window.MenuBar = True
Window.ToolBar = True
Window.AddressBar = True
Window.StatusBar = True
Window.FullScreen = False
Window.Resizable = True
Window.Visible = True
Window.Width = 850
Window.Height = 720


See More: vbscript to open URL needs refining

Report •


#1
May 3, 2005 at 00:08:28

No. The buttons that are displayed are determined by the setup of the user. For example, if I add the print preview button, then that button will be shown if the button toolbar is displayed.

Michael J


Report •
Related Solutions


Ask Question