Entradas

What is VBScript?

Imagen
 VBScript is a scripting language. As with algebra, VBScript variables are used to hold values or expressions. Rules. • Must begin with a letter • Cannot contain a period (.) • Cannot exceed 255 characters Basic Functions: VBScript MsgBox Function The MsgBox function displays a message box and waits for the user to click a button and then an action is performed based on the button clicked by the user.  Example: MsgBox("Welcome")  VBScript InputBox Function The InputBox function displays a dialog box, where the user can write some input and/or click on a button. If the user clicks the OK button or presses ENTER on the keyboard, the InputBox function will return the text in the text box. If the user clicks on the Cancel button, the function will return an empty string (" "). dim fname fname=InputBox("Enter your name:") MsgBox("Your name is " & fname) VBScript Operators. In VBScript, operators are used to perform an operation. For example, an op...