Ensure that the random number generator is seeded properly.
Assumes
Using the VB statement "Randomize" by itself to seed the random number generator implicitly means "Randomize Timer", with the timer function returning the number of seconds that have elapsed since 12:00 A.M. (midnight). If a program is started at roughly, or worse, launched at the same time each day, the timer could return the same seed each day. To avoid this problem, use a seed based on the date and time.
API Declarationsnone