Ok... I want to make an app that shows a random message at startup, so I created a Sub called Greet that has the following code:
VB Code:
  1. Select Case Int((6 * Rnd) + 1)
  2.     Case 1
  3.     ...
  4.     Case 2
  5.     ...
  6.     Case 3
  7.     ...
  8.     Case 4
  9.     ...
  10.     Case 5
  11.     ...
  12.     End Select

And when I run the application, a strange thing happen, when I call the Procedure from Form_Load the message displayed is always the same BUT when I run it from a command button Click event the procedure works, I have a random message each time I press the button but not when I load the form.

If anyone knows why and eventually how to solve it please tell me, 'cuz I'm getting mad with this

Thanks in advance,
DarioXP