?
Solved

vbscript: How to launch to another site using vb.

Posted on 2004-03-25
2
Medium Priority
?
202 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
[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
2 Comments
 
LVL 12

Accepted Solution

by:
venkateshwarr earned 80 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 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