.gif Animation Play w/out Looping in Visual Basic .NET 2005 Beta 2 Express

Hi, can anyone tell me how to make a .gif animation play without looping? When I load one into a picturebox, even when the file is not designed to loop, it loops anyways. How can I stop this?
Thanks,
The Digital Pioneer
[229 byte] By [Digital-Pioneer] at [2007-12-16]
# 1
No-one knows?Sad I know that it is possible. HOW DO I DO IT? This would really be helpful.
Thanks,
The Digital Pioneer
Digital-Pioneer at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2
To prevent the GIF from playing at all you can set the PictureBox.Enabled property to false. However to play the GIF once without looping you will probably have to create your own control.

To do this you could use the Image.GetFrameCount inconjunction with the Image.SelectActiveFrame method to only loop the GIF image once.

DavidM.Kean at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms General...