jimtxas
asked on
Auto Navigate to web address from VBSCRIPT
I've got a script that automatically navigates to a dynamic URL based on some parameters. Ideally, each time it runs it takes the current IE window that is open and navigates that page to the new URL. On most machines it navigates just fine in the same window... there are a few however that continually open a new window each time which is a problem. Any ideas of some settings that may cause this? I've double checked INTERNET TOOLS --> TABS and the associated settings there with no luck... These are all IE7 machines with no major differences between them...
Here's the code that's executing...
Set IE = GetObject("internetexplore r.applicat ion")
IE.Visible = True
IE.Navigate2 URL
Here's the code that's executing...
Set IE = GetObject("internetexplore
IE.Visible = True
IE.Navigate2 URL
ASKER
1) no... IE7 only
2) always opens another window
3) no
2) always opens another window
3) no
so the script is acting as if there is already an IE instance open.
You may need to check the tasklist on those pc's. Perhaps there is an application openning inside an IE control. eg Acrobat can open inside IE.
You may need to check the tasklist on those pc's. Perhaps there is an application openning inside an IE control. eg Acrobat can open inside IE.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the grade.
Regards,
Rob.
Regards,
Rob.
2/ what happens if there is more than 1 IE application open ? I dont know how the GetObject would get just the active IE application.
3/ does it work with IE7 tabs ?