how to write basic programs in VB Script like addition,
multiplication?
Answers were Sorted based on User's Feedback
Answer / dipanjan
Dim a, b, c, d As Integer
a = TextBox1.Text
b = TextBox2.Text
c = TextBox3.Text
d = Int(a) + Int(b) + Int(c)
MsgBox (d)
for multiplication:
d = a * b * c
MsgBox (d)
| Is This Answer Correct ? | 6 Yes | 8 No |
Answer / jansheer
dim a
dim b
dim c
a=cintinputbox("enter first no")
b=cintinputbox("enter second no")
c=a+b
msgbox("sum of "&a&"and"&b&"is")
| Is This Answer Correct ? | 4 Yes | 16 No |
Hi, Anybody could tell me What is the 3rd Largest Number in the series..Thanks in Advance..
How do I check that the names in a weblist are correct e.g in flight application the names of item are Denver, paris,London, etc. How do I ensure the correct item is displayed from the list after doing item count ?
What are the rules to name variable in vbscript?
Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail now give procedure & Coding For that Scenario
HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer
a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?
what do you mean .ota mobile format
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
I want good books or good sites for scripting.Can any one help me.
What is the purpose of regexp object in vbscript?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
How can you fetch the value of a cookie?