Jump to content

Check out our Community Blogs


Member Since 04 Jan 2013
Offline Last Active Jan 05 2013 04:56 PM

Posts I've Made

In Topic: Getting Random numbers in VB.NET

04 January 2013 - 06:15 PM

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