Computing.Net > Forums > Programming > vbscript to open URL needs refining

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

vbscript to open URL needs refining

Reply to Message Icon

Original Message
Name: brian32
Date: May 2, 2005 at 18:50:03 Pacific
Subject: vbscript to open URL needs refining
OS: XP Pro
Comment:

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


Report Offensive Message For Removal


Response Number 1
Name: Michael J (by mjdamato)
Date: May 3, 2005 at 00:08:28 Pacific
Reply: (edit)

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 Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software