Answer Posted / swamireddy
to genarate random numbers in vb using the random fuction
the fuction systax for
function Random(Lowerbound As Long, Upperbound As Long)
Randomize
Random = Int(Rnd * Upperbound) + Lowerbound
End Function
this fuction use automatically genarate a random numbers.
how to call the fuction.
a=random(lowerbound,upperbound)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between vb debugger and the script debugger?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Mention how to access array data?
What is difference between vbscript and vba?
Is VB Script Case sensitive or Case insensitive?
How can you create an object in vbscript?
Differentiate javascript and vbscript?
write any ttest cases using check points and parameterization
What is the use of the date function in the vbscript language?
Explain what is loose binding? Why is it not a good practice to use it?
What if you do not specify anything when you call a procedure?
How to capture a runtime error in vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?