Results 1 to 2 of 2

Thread: getting images from memory

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Parish, ny, usa
    Posts
    1

    Post

    i need to make a program that flashes pictures rapidly on the screen, but loading each image from file before displaying it is slow and they all take different amounts of time to load, as they are all different sizes. i was wondering if there is a way to load all the images into memory, perhaps when the program loads, so i can display them from memory at a rapid speed? someone please help me!

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Post

    1. Put on the form a few invisible Image controls.

    2. In the beginning of your program, load all the pictures from the files, every picture to a separate Image control.

    3. When you need to display a picture, just set the appropriate property of the control you are using to show the pictures, to the Picture property of the Image control which contains the picture you need.

    Good Luck!!!

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