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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding New Tabs To an Internet Explorer Instance

Status
Not open for further replies.

mbro

Programmer
Nov 12, 2004
25
0
0
US
Hi,

I was wondering if it would be possible to write a program that opens an Internet Explorer window to a particular URL and then adds say three tabs to that window each pointing at a different website? Is this possible or can you only launch the initial window programmatically?

Thanks,
Mike
 
here's the code:
Code:
mychoice = "HTA Developers Center.url"
Set wshshell = WScript.CreateObject("WScript.Shell")
 
WshShell.Run """C:\documents and settings\username\favorites\" & _
      mychoice & """"
this will launch the url that is specified.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top