|
-
Jun 26th, 2000, 12:47 AM
#1
Thread Starter
Addicted Member
Ok some guys helped me with my contol problem, thanks but now that i have got that out of the way, i have a random image appear when the program opens, but it is always 35 (out of 50) then i decided to add a button to continue putting down images, just to see if it was always 35 bieng chosen, it wasnt, but there is a distinct pattern, the random code chooses 35, 26, 28, 14 .........and so on, in the same exact order every time, here is my code, why is it doing it?
Private Sub Command1_Click()
Random = Int(Rnd * 50)
MsgBox "" & Random
rw(Random).Visible = True
rw(Random).Left = 120
rw(Random).Top = 240
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|