Click here to Skip to main content
15,925,206 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: XML Serialization Pin
nlarson1119-May-09 5:00
nlarson1119-May-09 5:00 
GeneralRe: XML Serialization Pin
MrColeyted19-May-09 6:06
MrColeyted19-May-09 6:06 
GeneralRe: XML Serialization Pin
nlarson1119-May-09 7:41
nlarson1119-May-09 7:41 
QuestionDynamically Loading Image in Crystal Report Pin
Ovais Memon18-May-09 20:46
Ovais Memon18-May-09 20:46 
QuestionRandom Numbers Pin
GregoryWB18-May-09 15:08
GregoryWB18-May-09 15:08 
AnswerRe: Random Numbers Pin
_Damian S_18-May-09 15:25
professional_Damian S_18-May-09 15:25 
GeneralRe: Random Numbers Pin
GregoryWB18-May-09 15:39
GregoryWB18-May-09 15:39 
AnswerRe: Random Numbers Pin
Luc Pattyn18-May-09 15:38
sitebuilderLuc Pattyn18-May-09 15:38 
GregoryWB wrote:
is there a way to check and make sure the same random number doesn't get picked twice?


That is not the purpose of a random number generator: it should generate numbers that are independent of previous numbers, hence doubles are perfectly normal.

If you need all different numbers, randomly picked from a limited set, then that is what you should do: construct a set, pick one element from it randomly and remove it, then repeat until you have enough (or the set got empty).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Random Numbers Pin
GregoryWB18-May-09 15:42
GregoryWB18-May-09 15:42 
GeneralRe: Random Numbers Pin
Luc Pattyn18-May-09 15:58
sitebuilderLuc Pattyn18-May-09 15:58 
GeneralRe: Random Numbers Pin
_Damian S_18-May-09 17:13
professional_Damian S_18-May-09 17:13 
AnswerRe: Random Numbers Pin
TheMrProgrammer19-May-09 3:02
TheMrProgrammer19-May-09 3:02 
QuestionDesign Logic for Simple Application Pin
Nielvh18-May-09 12:42
Nielvh18-May-09 12:42 
AnswerRe: Design Logic for Simple Application Pin
_Damian S_18-May-09 14:10
professional_Damian S_18-May-09 14:10 
GeneralRe: Design Logic for Simple Application Pin
Nielvh18-May-09 20:14
Nielvh18-May-09 20:14 
GeneralRe: Design Logic for Simple Application Pin
_Damian S_18-May-09 20:45
professional_Damian S_18-May-09 20:45 
AnswerRe: Design Logic for Simple Application Pin
Mycroft Holmes18-May-09 16:23
professionalMycroft Holmes18-May-09 16:23 
Questionproblem of save in excel Pin
nazimghori18-May-09 5:52
nazimghori18-May-09 5:52 
AnswerRe: problem of save in excel Pin
Ray Cassick18-May-09 8:39
Ray Cassick18-May-09 8:39 
AnswerRe: problem of save in excel Pin
Ray Cassick18-May-09 8:42
Ray Cassick18-May-09 8:42 
AnswerRe: problem of save in excel Pin
Dave Kreskowiak18-May-09 8:46
mveDave Kreskowiak18-May-09 8:46 
QuestionRegistering an exe as a service. Pin
draghu18-May-09 4:21
draghu18-May-09 4:21 
AnswerRe: Registering an exe as a service. Pin
Dave Kreskowiak18-May-09 6:55
mveDave Kreskowiak18-May-09 6:55 
GeneralRe: Registering an exe as a service. Pin
Jon_Boy18-May-09 8:13
Jon_Boy18-May-09 8:13 
GeneralRe: Registering an exe as a service. [modified] Pin
draghu20-May-09 20:01
draghu20-May-09 20:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.