Visual Basic 6 - How to Genterate Random Numbers the Easy and More Useful Way and How to Use Them

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,131
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 27, 2009

How to generate random numbers the best, easiest, and more useful way and how to use the random number code.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (NarrowFire)

  • thanks man....

    u made my college project complete.......:)))

  • @anilbond123 damn, college? i learned this last year as a freshman in high school

  • Thank you, this helped me on my class project.

  • @shinkansen761 hehe no prob

  • 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

  • did u type randomize into the form load, because that should be the only reason it wouldnt work

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • 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!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more