How to generate 3 digit random number?
Answer Posted / nazeer ahmed
dim upperlimit
dim lowerlimit
dim randomnumber(4)
upperlimit = 500
lowerlimit = 1
For x = 0 to 4
randomize timer
randomnumber(x)=Int((upperlimit-lowerlimit+1)*Rnd)+lowerlimit
msgbox randomnumber(x)
Next
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the different types of loops available in the vbscript language?
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
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
Explain some uses of vb script?
how to check whether link is disabled in QTP??
Explain about operator precedence in vb script?
what is diff between static and dynaic arrys?
What is the main difference between function and sub-procedure?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
How to create a cookie using vbscript?
Mention how to assign a date value to a variable?
how to set one column as primary key in QTP and fetch values accordingly
In html file what is an ideal position to include vbscript?
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
How should i Create Email invite with server-side Coding?