How to play AVI files 
Author Message
 How to play AVI files

Hi there,

which control should I use to play an avi file.
I don't want a control bar, and I would like to be able to start, stop
and change its visibility.

I have inserted an AVIFile object and, but I don't know how to start it
from runtime.

Any help is welcome.
Regards, John Dehaeze



Thu, 05 Oct 2000 03:00:00 GMT  
 How to play AVI files

Crude code sample follows...

'BeginRetab
Option Explicit
'.............................................

Private Sub Form_Click()
        Animation1.AutoPlay = False
        Animation1.Stop
End Sub
'.................................................

Private Sub Form_Load()
        With Animation1
                .Open "d:\utilities\videdit\work\filecopy\filecopy.avi"
                .Play 10
        End With
End Sub

Cecil

Quote:

> Hi there,

> which control should I use to play an avi file.
> I don't want a control bar, and I would like to be able to start, stop
> and change its visibility.

> I have inserted an AVIFile object and, but I don't know how to start it
> from runtime.

> Any help is welcome.
> Regards, John Dehaeze


--
Cecil A. Galbraith
CustomSoft
MFC tips and Tricks and Free Programmer's Utilities
http://www.concentric.net/~cgalbrai


Thu, 05 Oct 2000 03:00:00 GMT  
 How to play AVI files

I use the ActiveMovie control.  It's a snap.

Quote:

>Hi there,

>which control should I use to play an avi file.
>I don't want a control bar, and I would like to be able to start, stop
>and change its visibility.

>I have inserted an AVIFile object and, but I don't know how to start it
>from runtime.

>Any help is welcome.
>Regards, John Dehaeze




Sat, 07 Oct 2000 03:00:00 GMT  
 How to play AVI files

Hello John,

The Animation control does not support some types of AVI files (AVI with
sound etc.). The best way to play the AVI file is using ActiveMovie
Control. The properties of this control will allow you to show/hide control
bar and also the start, stop, visiblity , size of the avi etc.

hope this helps

All the BEst

Quote:

> Hi there,

> which control should I use to play an avi file.
> I don't want a control bar, and I would like to be able to start, stop
> and change its visibility.

> I have inserted an AVIFile object and, but I don't know how to start it
> from runtime.

> Any help is welcome.
> Regards, John Dehaeze




Mon, 09 Oct 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Cannot play avi files

2. How to play AVI-files?

3. Help please, play AVI file problem

4. Here is how to play AVI files in VB

5. How to play AVI files

6. Need help playing .AVI files from VB3

7. Using DDL to play AVI files

8. !!! Can I play AVI files in VB3?

9. VBX to play AVI files

10. How do I Play AVI Files in VB ???

11. Help playing AVI file!

12. How to play avi file in using DirectX

 

 
Powered by phpBB® Forum Software