1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VBScript Tutorial

Discussion in 'Web Design, HTML And CSS' started by nehas, Jan 29, 2007.

  1. nehas

    nehas New Member

    Joined:
    Jan 29, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    VBScript Tutorial
    VBScript is a scripting language.

    VBScript was created by Microsoft to use either as a client-side scripting language for the Microsoft Internet Explorer (versions 3.0 and later) or as a server-side scripting language with the Microsoft Internet Information Server (versions 3.0 and later).

    A primary advantage for using the server-side approach is that the VBScript is processed by the server before it is transmitted to the client.
     
  2. manojkumarmaithil

    manojkumarmaithil New Member

    Joined:
    Jun 18, 2007
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    0
    would you tell me hew i use + operator in vb script
     
  3. shadowskill404

    shadowskill404 New Member

    Joined:
    Jul 7, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    [qoute]would you tell me hew i use + operator in vb script[/qoute]

    value is a numeric data type... you could use it to add... values...
    For a string use the operator ... "&"

    e.g.

    Code:
    dim intNum1, intNum2, intNum3
    dim strStr1, strStr2, strStr3
    
    intNum1 = 1
    intNum2 = 1
    strStr1 = "Hello"
    strStr2 = "World"
    
    intNum3 = intNum1 + intNum2
    strStr3 = strStr1 & " " & strStr2
    
    msgbox intNum3 & vbCrLf & strStr3
    
    ------ code ends here....

    hope that helps...
     
    Last edited by a moderator: Jul 7, 2007
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    [COMMENT]its QUOTE and qoute[/COMMENT]
     

Share This Page