Visual Basic 6 - How to Genterate Random Numbers the Easy and More Useful Way and How to Use Them
Uploader Comments (NarrowFire)
All Comments (20)
-
Damn, you learn that in COLLEGE? Oh my god I'm learning this at age 11 and now I'm learning Java
-
I think this is the easy tutorial... Since i am 11 i have created many software like Chat Program, Control Panel, Notepad, Maze Game, and more.. By the way my company name Unisoft Softwares Inc. and i am 12 =)
-
Incorrect Code :
Private Sub Form_Load()
:((
-
@anilbond123 Damn, college? I'm learning this at age 12!
-
i cant see what those written there!
can u sent me the code!
-
Thank you... ;)
-
if you put = Int(Rnd * 8) will 8 be a possible value or is only from 0 to 7?
-
mine always gives me the same number: 1
copied exactly except I'm running it in a timer not a command button for reasons of the type of project I'm doing. what do you think the problem is?
-
i typed everything in correctly, but when i try and play it, it says: "compile error sub or function not defined" and then it highlights that one part: Private sub command1_click()... help plz!!!
thanks man....
u made my college project complete.......:)))
anilbond123 1 year ago
@anilbond123 damn, college? i learned this last year as a freshman in high school
NarrowFire 1 year ago
Thank you, this helped me on my class project.
shinkansen761 1 year ago
@shinkansen761 hehe no prob
NarrowFire 1 year ago
the problem here is that when u close and run the program again u get the same random number.
there is a code missing which i also forgot which my professor taught me before, u have to put a code which is base about the time of your pc so that the next time you run it will be a different number.
the problem is that i forgot the code, do you know it?
thanks
abdulajakula 2 years ago
did u type randomize into the form load, because that should be the only reason it wouldnt work
NarrowFire 2 years ago