my first project i post here
was created using VS 2010
waiting for any comments
thank you
Printable View
my first project i post here
was created using VS 2010
waiting for any comments
thank you
1. I suggest you remove the EXE files from the /bin and /obj folders, as it's against the rules to leave them in there...
2. What's with the "Count out of Range"?
3. You misspelled "Generate".
4. I suggest you use OrElse instead of Or, remove = True, don't define your variables at class-level, don't use a typeless array, remove the ElseIf and replace it with Else.
5. DON'T USE GOTO!
1-
2- if you put 1 as start and 10 as end you can get only 10 unique random numbers within that range so you can't ask for more than that in the count box
3-
4-
5- how can the code work without the GOTO statment ? i ask for help here
thank you for your time for reviewing my code and your suggestions are very helpful
Oh, thanks I didn't notice that they were unique!
Here's a code sample that uses a List(Of t) instead, and a few other minor adjustments, too.
thank you for your very great help
if i try to create random numbers greater than thousands it slows down the computer and makes it hang sometimes that is why i limited it to 1000 which i think it is more than anyone can need
Ah, okay...