Results 1 to 7 of 7

Thread: .avi

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Huntsville, AR 72740, USA
    Posts
    90

    Question .avi

    I keep getting an error when I try to use media player to play a video (possibly because I am on ME). Is it possible to play a video in a specific window using an API call. If so, how would I go about it... Video is a new area for me so be as specific as possible.
    To Seek is to start on the never ending road to wisdom. To fail to seek, the path to death.

  2. #2
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534

    hi

    Use animation control in VB
    and give the file name to be played ( avi format)

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    why not shellexecute it?

  4. #4
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534
    but if he does a shell execute then it would open in a default player.. and it will be media player in his case..

    so he can use vb control ( micrisoft windows common control )

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Huntsville, AR 72740, USA
    Posts
    90

    Angry Talk?

    If a shell execute would allow me to specifiy the window location, I'm game. What I want is something that will work. And for all your guys talk... I don't see one bit that is specific.
    To Seek is to start on the never ending road to wisdom. To fail to seek, the path to death.

  6. #6
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    this is actually a small thread

    Where did you want to position the media player?

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Huntsville, AR 72740, USA
    Posts
    90

    Question Position?

    Ideally the media player would be placed on a form, the form which I could move around or resize.

    Truthfully, there are a number of players that I will need to be going at once. But I can't even get one to runing. I can't figure out the problem...

    Run-time error '-2147467259 (80004005)':
    Method 'Play' of object 'IMediaPlayer2' failed

    Of course, this is with the MediaPlayer OCX (MSDXM.OCX). I was hoping that I could get the same effect out of an api, thus avoiding that entire issue.
    To Seek is to start on the never ending road to wisdom. To fail to seek, the path to death.

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