Home General VB.NET Create Random Number .NET
20 | 05 | 2012
This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade

Create Random Number .NET PDF Print E-mail
User Rating: / 0
PoorBest 
Tutorials

The function below creates a random integer.

[code]

   Public Function RndNumb(ByVal low As Int32, ByVal high As Int32) As Integer
 
        '*************************************
        '**** Code from VisibleVisual.com ****
        '*************************************
        Static Randomno As New System.Random
        Return Randomno.Next(low, high + 1)
 
    End Function

[/code]

 

Add comment


Security code
Refresh

This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade