How to generate 3 digit random number?
Answer Posted / prathyusha
Randomize
intmax=1000
intmin=300
rNum=Int((intmax-intmin+1)*Rnd+intmin)
MsgBox rnum
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
Explain about the support of asp for vb script functionality?
Explain some uses of vb script?
How to declare an array in vbscript?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Explain about tristate constants?
please can you help me to get a code of flames using a visual basic 6
What are the rules to name variable in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Is vbscript a case-sensitive or case-insensitive?
How will you get a random number between 0 and 1 in vbscript?
How will you get the smallest subscript of an array in vbscript?
How will you get the largest subscript of an array in vbscript?
how to write validation function for date in vb script
how to increasing the numbers in a given text box please write a vb script