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 |
write a program to display configuration of a local system with the help of vb script.
What is sql loader? Explain the files used by sql loader to load file?
How will you convert a string to upper case string using vbscript?
What is the use of option explicit statement?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
What are string functions in vbscript?
How will you convert a string to lower case string using vbscript?
Explain about the extension .hta?
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
Write a program to create a Dynamic array of size 5 elements and display all the elements.
In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?
Which operator can be used to change the value of the operand or change the state of the condition?