How to generate 3 digit random number?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prathyusha
Randomize
intmax=1000
intmin=300
rNum=Int((intmax-intmin+1)*Rnd+intmin)
MsgBox rnum
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / eswar
For i=1 to 3
x = RandomNumber(1,9)
y=y&x
Next
MsgBox y
| Is This Answer Correct ? | 0 Yes | 1 No |
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
what does create object actually do when you call it in vbscript?
Find Out Length of an array without using Ubound?
write a vb script to add two 2*2 matrix
what do you mean .ota mobile format
write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple
how to delete folder test3,test4 and test5 using vbscript?
what is extension of the file if its saved from recovery manger to some drive
How will you reverse a string in vbscript?
hai..friends ....what is the difference between function and sub procedure ....here every one know's theoretically here my question is what is the meaning of function can return the value and sub can't return the value...can you give one example with some values for that ....what does it mean ? how function can return the value...sub can not...any one please...........with example
Explain the filter expression?
Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex