Results 1 to 2 of 2

Thread: Play Windows AVI Stored file

  1. #1

    Thread Starter
    Hyperactive Member Steve Stunning's Avatar
    Join Date
    Jul 1999
    Location
    Fairfax, Virginia
    Posts
    314

    Question Play Windows AVI Stored file

    Greeting and Salutations

    OK... I downloaded a sample app from someplace a short time ago but cannot find it now.

    The sample showed how you can use an AVI that was stored in a windows file. The windows file had all of the avi files they use such as... deleting files. searching for files and such.

    I know how to run an AVI in the directory but I would LOVE to have the ability to run the AVI file from the windows sources.


    Any help would be wonderful!!
    Steve Stunning

  2. #2
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Sydney Australia
    Posts
    476
    Here's some code that uses and Animation control

    VB Code:
    1. Dim AVIFile As String
    2.     AVIFile = App.Path & "\filemove.avi"
    3.    
    4.     If cmdStart.Caption = "&Start" Then
    5.         cmdDetails.Enabled = True
    6.         visibleImage = 1
    7.         Animation.AutoPlay = True
    8.         Animation.Open AVIFile
    9.         StartProcess
    10.     Else
    11.         frmBond.ZOrder 0
    12.         Unload Me
    13.         frmBond.ZOrder 0
    14.     End If
    15.  
    16.     Exit Sub
    The animation control is in Microsoft Windows Comon Controls 2 5.0

    Good luck

    FW

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