how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / 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 |
Post New Answer View All Answers
Explain few date functions in vbscript?
Mention how to access array data?
Is VB Script Case sensitive or Case insensitive?
Both Static and dynamic arrays are handled by VB script. Is it true?
What are the 2 ways in which a variable can be declared in the vbscript language?
What is sql loader? Explain the files used by sql loader to load file?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
How will you reverse a string in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
Explain the asc function?
Mention what is select case statement?
How will you convert a given number to long in vbscript?
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
How will you check that a variable is an array in vbscript?