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
Explain sga memory structures?
can anyone tell me the procedure of interview held in applabs
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Explain vbscript in detail?
How to Convert Hex color code to color name in VB Script?
What is the use of the instr function?
Which constant is used for print and display functions and works as same as pressing enter key?
how to acces the remote mechine using vb cript(QTP)
What is the use of the formatdatetime function in the vbscript language?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
What is the use of option explicit statement?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
How can you create a file object to work with the files in the vbscript language?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.