HI.
My app downloads a gif file everyday and puts it in an image control via LoadPicture().
Sometimes though, instead of downloading fully, the GIF is one of those that downloads most of the way, so that it is the right dimensions first, but then blurry, and not fully downloaded. When the program tries to load that into an image box, the program hangs. There is no error message, and nothing to trap.
How can I confirm that the gif is one of those before putting it into the image box as picture?
Thanks
Wengang
BTW, I was asking about single note sounds for an app. On PSC, i found a great little app when I searched the word "piano". That app uses winmm.dll and does MIDI sounds for a piano by mouse clicks. Solved my problem.


Reply With Quote