Answer Posted / cnu
Function Random(max,min)
Randomize
Random=Int((max-min+1)*Rnd+min)
End Function
Dim A
A = random(100,1)
msgbox ("The random numer is:" &A)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
can anyone tell me the procedure of interview held in applabs
Write a Script for ATM in QTP
What is the difference between do until loop and do while loop?
What is the main difference between function and sub-procedure?
Explain about scrrun.dll?
Mention what are the rules to name variable in vbscript?
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?
Explain some uses of vb script?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
what is the differance between BYVAL,BYREF?
What are lbound and ubound in the vbscript language?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What is sql loader? Explain the files used by sql loader to load file?