Jump to content

Check out our Community Blogs

Reza1's Content

There have been 1 items by Reza1 (Search limited from 21-September 19)

Sort by                Order  

#649188 Getting Random numbers in VB.NET

Posted by Reza1 on 04 January 2013 - 06:15 PM in Visual Basic Tutorials

Hi every one I need an idea to generate a random value without a specific number between ,I mean assume that minimum is min and maximum is max and you have a number x between: min........x.......max
i want a random number between min and max and without being x. I thought of many ideas but because it's repeating for many times in my program i need the simplest idea for this: i thought of -if- but because this is in a case select which is in a for loop which it's in a if which it's in another loop and i'm going to right it for 20 cases , i'm afraid it must not be so complex. please help me , if you have ideas,any idea. :lol:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download