Results 1 to 2 of 2

Thread: Random Pictures

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    9

    Question

    I would like to know how I can display a random number of the same picture. for example if the random number is 3 it will display one picure 3 times next to each other.

    Do I use 1 picture box, or a picture box for each possible picture???

    I am a new user with Visual Basic so any help is greatly appreciated.

  2. #2
    Fanatic Member wildcat_2000's Avatar
    Join Date
    Nov 2000
    Location
    Italy
    Posts
    727
    Well you need one picture box per picture, or else you should resize the pictures to fin in one box... I believe you do not want to start with that now!

    Just put a maximum number of boxes that you want to use on a form, then use the Rnd function to randomise the number of pictures.
    When your car breaks down,
    close all windows and retry

    => please rate all users posts! <=

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width