how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / dev
1.addition
DIM A=10
DIM B=20
DIM C
DIM D
C=A+B
MSGBOX C (here output is 1020)
C=INT A+INT B
MSGBOX C (HERE OUTPUT IS 30)
D=A*B
MSGBOX D (OUTPUT IS 200)
| Is This Answer Correct ? | 84 Yes | 54 No |
Post New Answer View All Answers
What are the different types of loops available in the vbscript language?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Explain the scope of the variables using dim, public, and private keywords respectively.
How will you compare two strings in vbscript?
how to operate webobjects in a webpage using getobject function and then using generic methods?
How are values assigned to the variables in the vbscript language?
Compare java script and vb script?
How to make sure that items in a wintree are sorted al?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
How can the spaces from the string be removed?
Explain about the functionality of vb script?
What is byref and byval parameters in vbscript?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji