Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

941


Explain about the support of asp for vb script functionality?

886


Explain some uses of vb script?

919


How to declare an array in vbscript?

1204


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

941


Explain about tristate constants?

950


please can you help me to get a code of flames using a visual basic 6

1715


What are the rules to name variable in vbscript?

1017


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.

1800


Is vbscript a case-sensitive or case-insensitive?

1201


How will you get a random number between 0 and 1 in vbscript?

1226


How will you get the smallest subscript of an array in vbscript?

1309


How will you get the largest subscript of an array in vbscript?

1099


how to write validation function for date in vb script

2537


how to increasing the numbers in a given text box please write a vb script

2152