Solved

vbscript: How to launch to another site using vb.

Posted on 2004-03-25
2
195 Views
Last Modified: 2010-04-06
Hello, I have the following code:

<script language="vbscript">
msg = "Bla Bla Bla:" & vbCrlf & vbCrlf & _
      "bla bla bla" & vbcrlf & vbcrlf & _
      "If so, please select YES, otherwise, choose NO"
     
msgTitle = "Question"
If MsgBox(msg, vbYesNo, msgTitle) = vbYes Then
    <this is where I want to redirect to another page>
Else
End If
</script>

If the user selects yes, i want to direct the user to a diffrent page.  Thanks for your help.
0
Comment
Question by:clear100-com
2 Comments
 
LVL 12

Accepted Solution

by:
venkateshwarr earned 20 total points
ID: 10680735
<script language="vbscript">
msg = "Bla Bla Bla:" & vbCrlf & vbCrlf & _
      "bla bla bla" & vbcrlf & vbcrlf & _
      "If so, please select YES, otherwise, choose NO"
     
msgTitle = "Question"
If MsgBox(msg, vbYesNo, msgTitle) = vbYes Then
   navigate("http://www.google.com")
Else
End If
</script>

venkat
0
 

Author Comment

by:clear100-com
ID: 10681095
Perfect!  Thanks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now