AVI on a form

T

Tony

How to I play an AVI on a windows form.

I have an AVI that I run when performing long operations on a progress form,
sort of like the operating system does when you are copying a file.

But I don't see a way to handle this.

I have even tried putting an animated gif in a PictureBox and that works for
a while, but then stops looping for no reason.

Anyone have any ideas?

Tony
 
J

Jacky Kwok

Tony said:
How to I play an AVI on a windows form.

I have an AVI that I run when performing long operations on a progress form,
sort of like the operating system does when you are copying a file.

But I don't see a way to handle this.

I have even tried putting an animated gif in a PictureBox and that works for
a while, but then stops looping for no reason.

Anyone have any ideas?

Tony


PictureBox should work with animated gif.
You may need to set the repeat property (I do not sure the property
name, I always use animated gif which is created by otehr) when generate
the animated gif.

For AVI, I think the managed DirectX9 wrapper should have some support
but I do not actually know DirectX.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top