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 genarate a random numbers in vb?

Answer Posted / swamireddy

to genarate random numbers in vb using the random fuction
the fuction systax for
function Random(Lowerbound As Long, Upperbound As Long)
Randomize
Random = Int(Rnd * Upperbound) + Lowerbound
End Function
this fuction use automatically genarate a random numbers.
how to call the fuction.
a=random(lowerbound,upperbound)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to take whole text output from screen of Bitmap Application.

2433


How to assign a numeric value to a variable?

1174


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1430


Which function is used in the vbscript language to convert the specified expression into a date type value?

985


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3788


Mention the rules for using option explicit statement?

1063


What is difference between vbscript and vba?

1290


What is the use of the date function in the vbscript language?

1092


Anyone have qtp11.0 crack?

2893


How do you declare a variable in vbscript?

1115


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

1369


What are the uses of vb script?

1092


Explain sga memory structures?

1080


How are values assigned to the variables in the vbscript language?

1119


What are the rules to name variable in vbscript?

1137