I am making a small card game, which will require cards to appear at random times.

Here is my code:
VB Code:
  1. Private Sub cmdRoll_Click()
  2. Randomize
  3. Dim x
  4. For x = 0 To 5
  5. a% = Int(Rnd * 5) + 1
  6. Call pict
  7. Next
  8. End Sub
  9.  
  10. Public Sub pict()
  11. Dim i
  12. For i = 0 To 5
  13. If a% = 1 Then
  14. ???
  15. End Sub

I have 5 images called "card" with indexes of (0) to (4)
On the line "If a% = 1 Then" i am trying to mmake it so if the random value "a%" is 1, then a 10 will appear, if "a%" is 4 then an Ace will appear etc.

however, i cant find a way of getting the cards to show. I would need some kind of image database to store all of the images inside the project but how would i do that?

Thanks in advance