Results 1 to 3 of 3

Thread: does anyone have any idea abt this?????

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    Hi,

    I need to run multiple .avi files from my application, each for a certain no. of seconds. Im using an activemovie control to do this along with a timer control.

    My Code:
    --------
    'Declaration
    Dim MyVal As Boolean

    Private Sub Form_Load()
    FrmAVI.ActiveMovie1.FileName = "D:\WannaBrowse\test.avi"
    MyVal = True
    Timer1.Enabled = True
    End Sub


    Private Sub Timer1_Timer()
    Select Case MyVal
    Case True
    ActiveMovie1.FileName = "D:\WannaBrowse\start.avi"
    MyVal = False
    Case False
    ActiveMovie1.FileName = "D:\WannaBrowse\test.avi"
    MyVal = True
    End Select
    End Sub

    --------------------------------

    (Im using 2 .avi files here...I'll probably end up using 4-5 files, so will have to change the boolean variable to, maybe an integer.) The problem Im facing is that there is a small pause between the files when my form is shown. I dont want this to happen. Can anyone help me out???

    Thanks in advance.

    P.S. : Does anyone know a site for the activemovie control??? I need to look up the events & properties...dont have enuf space on my hard disk to install the entire MSDN!

    Thanks again.


  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Iain, thats with an i by the way!

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298

    Cool

    thanks lain!

    [Edited by rammy on 04-26-2000 at 07:39 AM]

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