What's the easiest way to play an animated gif in a windows forms
application?

TIA - Jeff.

Re: Playing an animated gif file in a windows form application. by Tim

Tim
Thu Feb 23 15:06:55 CST 2006

Use a PictureBox. Assign the gif to the Image property of a PictureBox
control.

--
Tim Wilson
.NET Compact Framework MVP

"UJ" <fred@nowhere.com> wrote in message
news:upf34$KOGHA.3944@tk2msftngp13.phx.gbl...
> What's the easiest way to play an animated gif in a windows forms
> application?
>
> TIA - Jeff.
>
>



Re: Playing an animated gif file in a windows form application. by UJ

UJ
Thu Feb 23 15:09:42 CST 2006

Thanks. I didn't think that would work. But I tried it and it works fine.

J.

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:%23WXXA0LOGHA.344@TK2MSFTNGP11.phx.gbl...
> Use a PictureBox. Assign the gif to the Image property of a PictureBox
> control.
>
> --
> Tim Wilson
> .NET Compact Framework MVP
>
> "UJ" <fred@nowhere.com> wrote in message
> news:upf34$KOGHA.3944@tk2msftngp13.phx.gbl...
>> What's the easiest way to play an animated gif in a windows forms
>> application?
>>
>> TIA - Jeff.
>>
>>
>
>



Re: Playing an animated gif file in a windows form application. by Herfried

Herfried
Thu Feb 23 18:18:21 CST 2006

"UJ" <fred@nowhere.com> schrieb:
> Thanks. I didn't think that would work. But I tried it and it works fine.

If it doesn't work for certain GIF files you could use the 'ImageAnimator'
class.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>