Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

redirecting browser in VB-Script

Posted on 1998-07-01
4
Medium Priority
?
205 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 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

618 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