Results 1 to 4 of 4

Thread: how can i..

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    How can i display an .avi file

    Do i need an activex,if yes wich one?

  2. #2
    Member
    Join Date
    Sep 2000
    Posts
    49
    try the cdwriter activeX, screw that man let's smoke a cigarette.

  3. #3
    New Member
    Join Date
    Sep 2000
    Location
    Nova Scotia, Canada
    Posts
    10

    Smile

    If it's for a form, you can use the animation control under Components --> Microsoft Windows Common Controls -2 6.0 (SP4)

    draw an animation box on your form, by default it will be called Animation1
    then all you need to do is place the following code into the desired event:

    Animation1.Open "Path to .avi file"

    make sure the autoplay is set to true

    Hope this helps!
    E-mail: [email protected]

    “If the Answer to the Ultimate Question of Life, the Universe, and Everything is 42, what’s the question?”

  4. #4
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    You can use the Windows Media Player AX control.
    Code:
    Media1.FileName = filename
    Then you can use the play ,pause stop button that are on the control.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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