how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / ashok
DIM A
A=INPUTBOX("enter a val")
DIM B
B=INPUTBOX("enter b val")
DIM C
DIM D
C=A+B
MSGBOX ("C is" &C)
C=INT (A)+INT (B)
MSGBOX ("C is" &C)
D=A*B
MSGBOX ("d is" &d)
Is This Answer Correct ? | 16 Yes | 11 No |
Post New Answer View All Answers
How will you get the smallest subscript of an array in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
How can you destroy an object in vbscript?
Explain some uses of vb script?
How to make sure that items in a wintree are sorted al?
write any ttest cases using check points and parameterization
Explain about constants in vb script?
Which keyword is used to declare a variable in the vbscript language?
What is the use of the date function in the vbscript language?
Mention characteristics of sub procedures?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
What are keywords in the vbscript language?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.