Results 1 to 10 of 10

Thread: Playing an AVI file, probably easy.

  1. #1

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268

    Question

    I would like to know how to play an avi file and possibly enable the transparent background part of it.

    Thanks in advance.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Try using the Windows Media Player Control.

  3. #3
    Guest
    Use the Animation control:

    Code:
    Animation1.Open "Graphics\Avis\Download.avi"
    Animation1.Play

  4. #4

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    What's the name of the component I should add to get the animation control. I know I'vce seen it in there somewhere but I just can't remember which one it is.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  5. #5
    Guest
    The name is Microsoft Windows Common Controls-2

  6. #6
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    You should be aware of that the animation control can't play .avi files that contains any sound. The control is some what limited.

    It is enough to play the simple .avi files that comes with VB though.

    Best regards

  7. #7
    Guest
    If you would like sound, use the Multimedia Control.

    Code:
    MMControl1.Command = "Open"
    MMControl1.DeviceType = "AVIVideo"
    MMControl1.Command = "Play"

  8. #8
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    Hi,

    Try using the active movie control.


  9. #9
    Member
    Join Date
    Jul 2000
    Location
    Ontario, Canada
    Posts
    61
    How do you use the MMControl to play to a picture box
    ---~^ Absalom ^~---

    There is nobody in the world who knows everything there is no one his/her workforce who knows everything what really makes the person smart is that he/she is not affraid to ask for help.

  10. #10
    Guest
    I think you can use mciSendString API for that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width