Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Using vbscript Navigate how to open in same window

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,3447
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Using vbscript Navigate how to open in same window
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Using vbscript Navigate how to open in same window - 6/19/2005 1:46:49 PM   
  tommytx

 

Posts: 8
Score: 0
Joined: 6/19/2005
From:
Status: offline
What command can I add to force each website to open in the same window, with the code below, each website opens in a new window.

The code is below:


VBSTART

Sub OpenPage(URL,Wait)

Dim IE
Set IE = CreateObject("InternetExplorer.Application")
IE.visible = 1
IE.navigate URL

do while IE.Busy and Wait
loop

End Sub

VBEND


Let>URL=http://www.vahud.com,1
VBRun>OpenPage,%URL%
Wait>30


Let>URL=http://www.beachrealty.com,1
VBRun>OpenPage,%URL%
Wait>30


Let>URL=http://www.greerteam.com,1
VBRun>OpenPage,%URL%
Wait>30




Thanks
Tom
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Using vbscript Navigate how to open in same window Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts