Solved

vbscript: How to launch to another site using vb.

Posted on 2004-03-25
2
201 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

705 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