Avi animations

  • Thread starter Thread starter Greg Bielleman
  • Start date Start date
G

Greg Bielleman

Hi,

Can someone point me to a sample of a winform app using an AVI animation in
C# or VB.NET.
I want to show show an animation while my app is processing ...Similar the
the spinning globe in IE.

Thanks
Greg
 
I believe the only way to currently show an AVI in .NET is with DirectShow
(DX9).
An alterantive though would be to create an animated GIF.
Those work fine in a picturebox control.
-paul
 
The only other option I can think of would be to create your own 'animation'
in code, by loading and displaying a sequence of still frames from Memory
or Disk
If the animation isn't very large, only a couple seconds, this shouldn't be
too bad.

-paul
 
Greg said:
Thanks for the quick reply...

Aren't GIFs a bit limited in colour depth though? (256 colors I seem to
remember)
Yes

and as for DX9..... I want my app to still workin Win2k terminal sessions.
I would be surprised if DX9 was loaded on any termianl servers ;-)

Cheers
Greg Bielleman

Instead of DX9, they may have Media Player 9 installed, or could be
installed. There is an example of how to use a Media Player control at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/vb_player_article.asp

Jeremy Hannon
Brainbench MVP
www.brainbench.com
 
Back
Top