Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. vbscript don't work in visual studio 2010?

vbscript don't work in visual studio 2010?

Scheduled Pinned Locked Moved ASP.NET
csharpjavascripthtmlvisual-studiosysadmin
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    buffering83
    wrote on last edited by
    #1

    Hi, I am using vs2010 in windows7 32bit. And i have below code and it does not work at all. What should i do? --------------------------- <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/vbscript"> Sub SelectItem2() MsgBox "test vbscript.", vbInformation, "OK" End Sub </script> <script type="text/javascript"> function SelectItem() { alert("test javascript"); } </script> </head> <body> <form id="form1" runat="server"> </form> </body> </html>

    hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

    G S S 3 Replies Last reply
    0
    • B buffering83

      Hi, I am using vs2010 in windows7 32bit. And i have below code and it does not work at all. What should i do? --------------------------- <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/vbscript"> Sub SelectItem2() MsgBox "test vbscript.", vbInformation, "OK" End Sub </script> <script type="text/javascript"> function SelectItem() { alert("test javascript"); } </script> </head> <body> <form id="form1" runat="server"> </form> </body> </html>

      hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      buffering83 wrote:

      What should i do?

      the first thing I would suggest it don't post the same question in multiple forums - ASP.Net and VBScript - pick one forum - the most appropriate one Second

      buffering83 wrote:

      does not work at all

      ok, so what does it do - what happens when you attempt to run it ?

      1 Reply Last reply
      0
      • B buffering83

        Hi, I am using vs2010 in windows7 32bit. And i have below code and it does not work at all. What should i do? --------------------------- <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/vbscript"> Sub SelectItem2() MsgBox "test vbscript.", vbInformation, "OK" End Sub </script> <script type="text/javascript"> function SelectItem() { alert("test javascript"); } </script> </head> <body> <form id="form1" runat="server"> </form> </body> </html>

        hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

        S Offline
        S Offline
        Srilatha0406
        wrote on last edited by
        #3

        <html xmlns="http://www.w3.org/1999/xhtml">
        <head id="Head1" runat="server">
        <title></title>
        <script type="text/javascript"> </script>
        <script type="text/vbscript">
        Sub SelectItem2()
        MsgBox "test vbscript.", vbInformation, "OK"
        End Sub
        </script>

        <script type="text/javascript">
        function SelectItem() {
        alert("test javascript")
        }
        </script>
        </head>
        <body>
        <form id="form1" runat="server">
        <div>
        <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return SelectItem2()" />
        <asp:Button ID="Button2" runat="server" Text="Button22" OnClientClick="SelectItem()" />
        </div>
        </form>
        </body>
        </html>

        B 1 Reply Last reply
        0
        • B buffering83

          Hi, I am using vs2010 in windows7 32bit. And i have below code and it does not work at all. What should i do? --------------------------- <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/vbscript"> Sub SelectItem2() MsgBox "test vbscript.", vbInformation, "OK" End Sub </script> <script type="text/javascript"> function SelectItem() { alert("test javascript"); } </script> </head> <body> <form id="form1" runat="server"> </form> </body> </html>

          hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

          S Offline
          S Offline
          Sandeep Mewara
          wrote on last edited by
          #4

          buffering83 wrote:

          OnClientClick="vbscript:SelectItem2()"

          Try just the method call:

          OnClientClick="SelectItem2()"

          Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Blog] [My Latest Post]: How to extend a WPF Textbox to Custom Picker

          1 Reply Last reply
          0
          • S Srilatha0406

            <html xmlns="http://www.w3.org/1999/xhtml">
            <head id="Head1" runat="server">
            <title></title>
            <script type="text/javascript"> </script>
            <script type="text/vbscript">
            Sub SelectItem2()
            MsgBox "test vbscript.", vbInformation, "OK"
            End Sub
            </script>

            <script type="text/javascript">
            function SelectItem() {
            alert("test javascript")
            }
            </script>
            </head>
            <body>
            <form id="form1" runat="server">
            <div>
            <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return SelectItem2()" />
            <asp:Button ID="Button2" runat="server" Text="Button22" OnClientClick="SelectItem()" />
            </div>
            </form>
            </body>
            </html>

            B Offline
            B Offline
            buffering83
            wrote on last edited by
            #5

            thanks for answer!!

            hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups