How to play an AVI file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I hope somebody can point me to a sample C# code on how to run an avi file. I basically want to display the filecopy.avi while code is transfering files from one location to another

Thanks
Danny
 
you could use the windows media player ocx to achieve this.
Salute!
-Rodrigo Meneses
C# MVP
Danny Mansour said:
Hi,

I hope somebody can point me to a sample C# code on how to run an avi
file. I basically want to display the filecopy.avi while code is
transfering files from one location to another.
 
Rodrigo Meneses said:
you could use the windows media player ocx to achieve this.

Yes that's the only solution to my knowledge to play an AVI file in dotnet.
But that's a bit overkill in this case, isn't it? It requires WMP 9 to be
installed, plus WMP is not exactly a light weight software and it has some
anoying bugs. All that to make the user wait for a file copy!!!

Why not using a progress bar and/or an animated GIF? The picture box in .NET
supports animated GIF in standard.
 
Back
Top