Solved

redirecting browser in VB-Script

Posted on 1998-07-01
4
200 Views
Last Modified: 2010-05-03
How do you redirect the browser to a new URL in (client side) VBScript?
0
Comment
Question by:glow060197
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Expert Comment

by:Fonnie
ID: 1464744
It's not VBScript, but try this:
 <META http-equiv="refresh" content="(time to wait before moving on); url=(url to go to)">
So it could look like this:
 <META http-equiv="refresh" content="10,http:\\www.experts-exchange.com">
 <META http-equiv="refresh" content="10,welcome.htm">
In the second example, the path is relative to the current page, use the first example to go to a different site.
I use this on an IIS4 server, in .ASP and .HTM pages, IE3, IE4, Netscape, works fine.


0
 

Expert Comment

by:74wolfgang
ID: 1464745
response.redirect ("index.html")

hope this helps
bye

0
 

Accepted Solution

by:
Steve2 earned 50 total points
ID: 1464746
Redirecting browsers in VB-Script....here is one of the three commands. This should answer you question. Anymore just ask.

window.location.href = "URL goes here in the quotes"

-Steve2
steve2@eagle.ptialaska.net
0
 

Author Comment

by:glow060197
ID: 1464747
thanks
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question