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

Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

924


What is select case statement?

1001


how to increase the values in text box in a given text box increament by two values by clicking on button

2139


Explain about the asc function?

987


Explain the functionality of vbscript?

896


who will create the object?

1925


Why to use option explicit in vb script?

1013


How to assign a numeric value to a variable?

1073


Mention the environments where vbscript could be run?

1164


where can i learn VB scripint ?

2042


When to use function procedures and what are its characteristics?

1044


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

2018


Is vbscript a case-sensitive or case-insensitive?

1213


Description.Create

2606


Which function is used to perform string comparison?

1081