|
I'm trying to make a simple slide show type program that displays an animated GIF image for 10 seconds, then moves on to the next one in sequence, plays that for 10 seconds...etc. and I've come across a problem I haven't seen before: animating the GIF seems to crash the program after a short time (it seems to be about the same frame every time if it matters). I've tried using ImageAnimator and just loading the image into a PictureBox and both pop up "a generic error occurred in GDI+". I then tested it by making a program with a form with a PictureBox conatining the image and got the same result. (and, more odd, when attempting to load the image the Select Resource dialog crashed at the same spot, and reloading the dialog afterwards buttons would randomly be replaced by white rectangles with red X's in them). Is there any way to stop this? (The GIF works fine in web browsers, although it stops animating at the same point in Windows Picture and Fax Viewer)
EDIT: I just thought to do another quick test, and it only seems to be that 1 image. I still need to fix it, as the image is important to the slide show.
This post has been edited by lewax00: 29 May, 2008 - 06:55 PM
|